diff --git a/ui-ngx/src/app/modules/home/pages/asset-profile/asset-profiles-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/asset-profile/asset-profiles-table-config.resolver.ts index 73226d3ff3..f6fa52567b 100644 --- a/ui-ngx/src/app/modules/home/pages/asset-profile/asset-profiles-table-config.resolver.ts +++ b/ui-ngx/src/app/modules/home/pages/asset-profile/asset-profiles-table-config.resolver.ts @@ -60,7 +60,7 @@ export class AssetProfilesTableConfigResolver { new DateEntityTableColumn('createdTime', 'common.created-time', this.datePipe, '150px'), new EntityTableColumn('name', 'asset-profile.name', '50%'), new EntityTableColumn('description', 'asset-profile.description', '50%', - entity => this.customTranslate.transform(entity.description)), + entity => this.customTranslate.transform(entity.description || '')), new EntityTableColumn('isDefault', 'asset-profile.default', '60px', entity => { return checkBoxCell(entity.default); diff --git a/ui-ngx/src/app/modules/home/pages/device-profile/device-profiles-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/device-profile/device-profiles-table-config.resolver.ts index e4f0f7be55..e9125c3fe7 100644 --- a/ui-ngx/src/app/modules/home/pages/device-profile/device-profiles-table-config.resolver.ts +++ b/ui-ngx/src/app/modules/home/pages/device-profile/device-profiles-table-config.resolver.ts @@ -78,7 +78,7 @@ export class DeviceProfilesTableConfigResolver { return this.translate.instant(deviceTransportTypeTranslationMap.get(deviceProfile.transportType)); }), new EntityTableColumn('description', 'device-profile.description', '40%', - entity => this.customTranslate.transform(entity.description)), + entity => this.customTranslate.transform(entity.description || '')), new EntityTableColumn('isDefault', 'device-profile.default', '60px', entity => { return checkBoxCell(entity.default); diff --git a/ui-ngx/src/app/modules/home/pages/tenant-profile/tenant-profiles-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/tenant-profile/tenant-profiles-table-config.resolver.ts index 0d0ca87d3e..78cdccf3b1 100644 --- a/ui-ngx/src/app/modules/home/pages/tenant-profile/tenant-profiles-table-config.resolver.ts +++ b/ui-ngx/src/app/modules/home/pages/tenant-profile/tenant-profiles-table-config.resolver.ts @@ -58,7 +58,7 @@ export class TenantProfilesTableConfigResolver { new DateEntityTableColumn('createdTime', 'common.created-time', this.datePipe, '150px'), new EntityTableColumn('name', 'tenant-profile.name', '40%'), new EntityTableColumn('description', 'tenant-profile.description', '60%', - entity => this.customTranslate.transform(entity.description)), + entity => this.customTranslate.transform(entity.description || '')), new EntityTableColumn('isDefault', 'tenant-profile.default', '60px', entity => { return checkBoxCell(entity.default);