Browse Source

added 'edge' scope to dashboard, device, entityView

pull/3811/head
Artem Babak 6 years ago
parent
commit
02f6b9bda0
  1. 2
      ui-ngx/src/app/modules/home/pages/dashboard/dashboard-form.component.ts
  2. 2
      ui-ngx/src/app/modules/home/pages/device/device.component.ts
  3. 2
      ui-ngx/src/app/modules/home/pages/entity-view/entity-view.component.ts

2
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<Dashboard> {
dashboardScope: 'tenant' | 'customer' | 'customer_user';
dashboardScope: 'tenant' | 'customer' | 'customer_user' | 'edge';
customerId: string;
publicLink: string;

2
ui-ngx/src/app/modules/home/pages/device/device.component.ts

@ -46,7 +46,7 @@ export class DeviceComponent extends EntityComponent<DeviceInfo> {
entityType = EntityType;
deviceScope: 'tenant' | 'customer' | 'customer_user';
deviceScope: 'tenant' | 'customer' | 'customer_user' | 'edge';
constructor(protected store: Store<AppState>,
protected translate: TranslateService,

2
ui-ngx/src/app/modules/home/pages/entity-view/entity-view.component.ts

@ -40,7 +40,7 @@ export class EntityViewComponent extends EntityComponent<EntityViewInfo> {
dataKeyType = DataKeyType;
entityViewScope: 'tenant' | 'customer' | 'customer_user';
entityViewScope: 'tenant' | 'customer' | 'customer_user' | 'edge';
allowedEntityTypes = [EntityType.DEVICE, EntityType.ASSET];

Loading…
Cancel
Save