Browse Source

Merge branch 'feature/iot-hub' into feature/lts-4.3-iot-hub

pull/15540/head
Igor Kulikov 4 months ago
parent
commit
ab439f2c96
  1. 2
      ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts
  2. 2
      ui-ngx/src/app/modules/home/pages/device/devices-table-config.resolver.ts
  3. 2
      ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts
  4. 2
      ui-ngx/src/app/modules/home/pages/widget/widget-types-table-config.resolver.ts

2
ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts

@ -149,7 +149,7 @@ export class CalculatedFieldsTableConfig extends EntityTableConfig<CalculatedFie
}, },
{ {
name: this.translate.instant('iot-hub.add-from-iot-hub'), name: this.translate.instant('iot-hub.add-from-iot-hub'),
icon: 'store', icon: 'hub',
isEnabled: () => true, isEnabled: () => true,
onAction: () => this.addCalculatedFieldFromIotHub() onAction: () => this.addCalculatedFieldFromIotHub()
} }

2
ui-ngx/src/app/modules/home/pages/device/devices-table-config.resolver.ts

@ -421,7 +421,7 @@ export class DevicesTableConfigResolver {
}, },
{ {
name: this.translate.instant('iot-hub.add-from-iot-hub'), name: this.translate.instant('iot-hub.add-from-iot-hub'),
icon: 'store', icon: 'hub',
isEnabled: () => true, isEnabled: () => true,
onAction: (_$event) => this.addDeviceFromIotHub() onAction: (_$event) => this.addDeviceFromIotHub()
}, },

2
ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts

@ -174,7 +174,7 @@ export class RuleChainsTableConfigResolver {
}, },
{ {
name: this.translate.instant('iot-hub.add-from-iot-hub'), name: this.translate.instant('iot-hub.add-from-iot-hub'),
icon: 'store', icon: 'hub',
isEnabled: () => true, isEnabled: () => true,
onAction: (_$event) => this.addRuleChainFromIotHub() onAction: (_$event) => this.addRuleChainFromIotHub()
} }

2
ui-ngx/src/app/modules/home/pages/widget/widget-types-table-config.resolver.ts

@ -157,7 +157,7 @@ export class WidgetTypesTableConfigResolver {
this.config.addActionDescriptors.push( this.config.addActionDescriptors.push(
{ {
name: this.translate.instant('iot-hub.add-from-iot-hub'), name: this.translate.instant('iot-hub.add-from-iot-hub'),
icon: 'store', icon: 'hub',
isEnabled: () => true, isEnabled: () => true,
onAction: (_$event) => this.addWidgetFromIotHub() onAction: (_$event) => this.addWidgetFromIotHub()
} }

Loading…
Cancel
Save