From f4aaeff6d9790ea2dae2042e280081cd77577b22 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Fri, 12 Jun 2026 12:20:45 +0300 Subject: [PATCH] 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. --- .../calculated-fields/calculated-fields-table-config.ts | 2 +- .../modules/home/pages/device/devices-table-config.resolver.ts | 2 +- .../home/pages/rulechain/rulechains-table-config.resolver.ts | 2 +- .../home/pages/widget/widget-types-table-config.resolver.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts b/ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts index af4bff4ddd..c7f7bc5b74 100644 --- a/ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts +++ b/ui-ngx/src/app/modules/home/components/calculated-fields/calculated-fields-table-config.ts @@ -110,7 +110,7 @@ export class CalculatedFieldsTableConfig extends EntityTableConfig true, onAction: () => this.addCalculatedFieldFromIotHub() } diff --git a/ui-ngx/src/app/modules/home/pages/device/devices-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/device/devices-table-config.resolver.ts index f711b24d8f..72d0a08dd6 100644 --- a/ui-ngx/src/app/modules/home/pages/device/devices-table-config.resolver.ts +++ b/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() }, diff --git a/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts index 43a7c91b53..e631eeaf15 100644 --- a/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts +++ b/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() } diff --git a/ui-ngx/src/app/modules/home/pages/widget/widget-types-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/widget/widget-types-table-config.resolver.ts index dfca3ed83c..cb8b436166 100644 --- a/ui-ngx/src/app/modules/home/pages/widget/widget-types-table-config.resolver.ts +++ b/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() }