Browse Source

IoT Hub installed items: no update button for an item without a published version (#16640)

pull/16644/head
Shvaika Dmytro 3 weeks ago
committed by GitHub
parent
commit
9c0c4773c3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html

2
ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html

@ -43,7 +43,7 @@
<td mat-cell *matCellDef="let item">
@if (updatesChecked) {
@let pubInfo = getPublishedVersionInfo(item);
@if (pubInfo && pubInfo.publishedVersionId !== item.itemVersionId) {
@if (pubInfo?.publishedVersionId && pubInfo.publishedVersionId !== item.itemVersionId) {
<div class="flex items-center gap-3">
@if (!itemVersion) {
<button mat-stroked-button color="warn" class="tb-installed-update-btn" (click)="updateItem(item, pubInfo)">

Loading…
Cancel
Save