From 541091a221782bad8fca2663f5e4f374031389f9 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Wed, 26 Aug 2020 19:20:58 +0300 Subject: [PATCH] Minor fixes --- .../src/app/modules/home/pages/tenant/tenant.component.html | 4 ++-- .../home/pages/tenant/tenants-table-config.resolver.ts | 4 ++-- ui-ngx/src/app/shared/models/device.models.ts | 4 ++-- ui-ngx/src/assets/locale/locale.constant-en_US.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/tenant/tenant.component.html b/ui-ngx/src/app/modules/home/pages/tenant/tenant.component.html index 335a7d3c9a..3f22741130 100644 --- a/ui-ngx/src/app/modules/home/pages/tenant/tenant.component.html +++ b/ui-ngx/src/app/modules/home/pages/tenant/tenant.component.html @@ -56,7 +56,7 @@ -
+
diff --git a/ui-ngx/src/app/modules/home/pages/tenant/tenants-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/tenant/tenants-table-config.resolver.ts index b1515ee62d..c3c0c14e88 100644 --- a/ui-ngx/src/app/modules/home/pages/tenant/tenants-table-config.resolver.ts +++ b/ui-ngx/src/app/modules/home/pages/tenant/tenants-table-config.resolver.ts @@ -51,8 +51,8 @@ export class TenantsTableConfigResolver implements Resolve('createdTime', 'common.created-time', this.datePipe, '150px'), - new EntityTableColumn('title', 'tenant-profile.tenant-profile', '20%'), - new EntityTableColumn('tenantProfileName', 'tenant.title', '20%'), + new EntityTableColumn('title', 'tenant.title', '20%'), + new EntityTableColumn('tenantProfileName', 'tenant-profile.tenant-profile', '20%'), new EntityTableColumn('email', 'contact.email', '20%'), new EntityTableColumn('country', 'contact.country', '20%'), new EntityTableColumn('city', 'contact.city', '20%') diff --git a/ui-ngx/src/app/shared/models/device.models.ts b/ui-ngx/src/app/shared/models/device.models.ts index 74f48a09bd..bb15f5b2c5 100644 --- a/ui-ngx/src/app/shared/models/device.models.ts +++ b/ui-ngx/src/app/shared/models/device.models.ts @@ -83,8 +83,8 @@ export interface Device extends BaseData { name: string; type: string; label: string; - deviceProfileId: DeviceProfileId; - deviceData: DeviceData; + deviceProfileId?: DeviceProfileId; + deviceData?: DeviceData; additionalInfo?: any; } diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 5cab0a7284..19d079395d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -2085,4 +2085,4 @@ "ka_GE": "ქართული" } } -}, +}