Browse Source

fixed lint problems

pull/14298/head
Maksym Tsymbarov 11 months ago
parent
commit
0905d5d254
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/rpc/led-indicator.component.ts
  2. 2
      ui-ngx/src/app/modules/home/components/widget/lib/rpc/round-switch.component.ts
  3. 2
      ui-ngx/src/app/modules/home/components/widget/lib/rpc/switch.component.ts

2
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);

2
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);

2
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);

Loading…
Cancel
Save