diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html index a8c943ffa1..093fdb82f6 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.html @@ -294,12 +294,12 @@ } - @if (readmeContent || item.changelog) { + @if (readmeContent || shouldShowChangelog()) {
@if (readmeContent) { } - @if (item.changelog) { + @if (shouldShowChangelog()) {

{{ 'iot-hub.changelog' | translate }}

} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts index 63962c97c6..4223a58554 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-item-detail-dialog.component.ts @@ -162,7 +162,10 @@ export class TbIotHubItemDetailDialogComponent extends DialogComponent