From 02f6b9bda0cf5ba7e42a3c8e17131fdcd5844c5d Mon Sep 17 00:00:00 2001 From: Artem Babak Date: Thu, 5 Nov 2020 16:02:10 +0200 Subject: [PATCH] added 'edge' scope to dashboard, device, entityView --- .../modules/home/pages/dashboard/dashboard-form.component.ts | 2 +- ui-ngx/src/app/modules/home/pages/device/device.component.ts | 2 +- .../app/modules/home/pages/entity-view/entity-view.component.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-form.component.ts b/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-form.component.ts index ee72b33453..2f5f517d84 100644 --- a/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-form.component.ts +++ b/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-form.component.ts @@ -38,7 +38,7 @@ import { isEqual } from '@core/utils'; }) export class DashboardFormComponent extends EntityComponent { - dashboardScope: 'tenant' | 'customer' | 'customer_user'; + dashboardScope: 'tenant' | 'customer' | 'customer_user' | 'edge'; customerId: string; publicLink: string; diff --git a/ui-ngx/src/app/modules/home/pages/device/device.component.ts b/ui-ngx/src/app/modules/home/pages/device/device.component.ts index 833919eb78..adf2891a8c 100644 --- a/ui-ngx/src/app/modules/home/pages/device/device.component.ts +++ b/ui-ngx/src/app/modules/home/pages/device/device.component.ts @@ -46,7 +46,7 @@ export class DeviceComponent extends EntityComponent { entityType = EntityType; - deviceScope: 'tenant' | 'customer' | 'customer_user'; + deviceScope: 'tenant' | 'customer' | 'customer_user' | 'edge'; constructor(protected store: Store, protected translate: TranslateService, diff --git a/ui-ngx/src/app/modules/home/pages/entity-view/entity-view.component.ts b/ui-ngx/src/app/modules/home/pages/entity-view/entity-view.component.ts index 1a1895dada..e464a6f87f 100644 --- a/ui-ngx/src/app/modules/home/pages/entity-view/entity-view.component.ts +++ b/ui-ngx/src/app/modules/home/pages/entity-view/entity-view.component.ts @@ -40,7 +40,7 @@ export class EntityViewComponent extends EntityComponent { dataKeyType = DataKeyType; - entityViewScope: 'tenant' | 'customer' | 'customer_user'; + entityViewScope: 'tenant' | 'customer' | 'customer_user' | 'edge'; allowedEntityTypes = [EntityType.DEVICE, EntityType.ASSET];