From 5c7a55f71ef14e4ba1c5332b8e0f87eef2ea2267 Mon Sep 17 00:00:00 2001 From: dpinkevych Date: Thu, 5 Nov 2026 12:41:23 +0200 Subject: [PATCH] fix(iot-hub): ask to update a device package anyway, as on Remove Updating a device package removes its entities and their data, like Remove, so the button is the same warning "Update anyway". --- .../components/iot-hub/iot-hub-update-dialog.component.html | 4 +++- .../components/iot-hub/iot-hub-update-dialog.component.ts | 5 +++++ ui-ngx/src/assets/locale/locale.constant-en_US.json | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html index a1fffb0a9d..ab583ca072 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.html @@ -35,7 +35,9 @@ @switch (state) { @case ('confirm') { - + } @case ('updating') { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts index d5d0398f00..fbcd148b6e 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-update-dialog.component.ts @@ -64,6 +64,11 @@ export class TbIotHubUpdateDialogComponent extends DialogComponent