Browse Source

chore(iot-hub): swap "Add from IoT Hub" action icon from store to hub

Align the four entity table "Add from IoT Hub" descriptors (devices,
rule chains, calculated fields, widget types) with the new hub icon
already used by the IoT Hub menu and breadcrumb. Drops the old
`store` glyph that no longer matches the rest of the IoT Hub UI.
pull/15772/head
Igor Kulikov 2 months ago
parent
commit
f4aaeff6d9
  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

@ -110,7 +110,7 @@ export class CalculatedFieldsTableConfig extends EntityTableConfig<CalculatedFie
},
{
name: this.translate.instant('iot-hub.add-from-iot-hub'),
icon: 'store',
icon: 'hub',
isEnabled: () => true,
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'),
icon: 'store',
icon: 'hub',
isEnabled: () => true,
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'),
icon: 'store',
icon: 'hub',
isEnabled: () => true,
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(
{
name: this.translate.instant('iot-hub.add-from-iot-hub'),
icon: 'store',
icon: 'hub',
isEnabled: () => true,
onAction: (_$event) => this.addWidgetFromIotHub()
}

Loading…
Cancel
Save