From 9c0c4773c3c970ccbe5ae842ab58c8c73671e4e1 Mon Sep 17 00:00:00 2001 From: Shvaika Dmytro Date: Thu, 12 Nov 2026 16:04:59 +0200 Subject: [PATCH] IoT Hub installed items: no update button for an item without a published version (#16640) --- .../iot-hub/iot-hub-installed-items-table.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index bc550bd817..7f1dbac04e 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -43,7 +43,7 @@ @if (updatesChecked) { @let pubInfo = getPublishedVersionInfo(item); - @if (pubInfo && pubInfo.publishedVersionId !== item.itemVersionId) { + @if (pubInfo?.publishedVersionId && pubInfo.publishedVersionId !== item.itemVersionId) {
@if (!itemVersion) {