diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts index 6cd91eadae..a59bbca537 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts @@ -335,7 +335,7 @@ export class LedIndicatorComponent extends PageComponent implements OnInit, OnDe let valueToParse = attrValue; try { valueToParse = JSON.parse(attrValue); - } catch (e) { } + } catch (e) {/**/} try { value = !!this.parseValueFunction(valueToParse); diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts index 3e483b498a..8e64cc7100 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts @@ -333,7 +333,7 @@ export class RoundSwitchComponent extends PageComponent implements OnInit, OnDes let valueToParse = attrValue; try { valueToParse = JSON.parse(attrValue); - } catch (e) { } + } catch (e) {/**/} try { value = !!this.parseValueFunction(valueToParse); diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts index e9809cb61c..7a8f4e0dd6 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts @@ -376,7 +376,7 @@ export class SwitchComponent extends PageComponent implements AfterViewInit, OnD let valueToParse = attrValue; try { valueToParse = JSON.parse(attrValue); - } catch (e) { } + } catch (e) {/**/} try { value = !!this.parseValueFunction(valueToParse);