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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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)"> |
|
|
|
|