Commit f95a59109471bd100620ff4a18022768acb1f8cd

Authored by Artem Babak
1 parent 764f8bae

Added manage entites buttons in the Edge Component

... ... @@ -34,6 +34,36 @@
34 34 [fxShow]="!isEdit && (edgeScope === 'customer' || edgeScope === 'tenant') && isAssignedToCustomer(entity)">
35 35 {{ (entity?.customerIsPublic ? 'edge.make-private' : 'edge.unassign-from-customer') | translate }}
36 36 </button>
  37 + <button mat-raised-button color="primary"
  38 + [disabled]="(isLoading$ | async)"
  39 + (click)="onEntityAction($event, 'openEdgeAssets')"
  40 + [fxShow]="!isEdit && edgeScope === 'tenant'">
  41 + {{'edge.manage-edge-assets' | translate }}
  42 + </button>
  43 + <button mat-raised-button color="primary"
  44 + [disabled]="(isLoading$ | async)"
  45 + (click)="onEntityAction($event, 'openEdgeDevices')"
  46 + [fxShow]="!isEdit && edgeScope === 'tenant'">
  47 + {{'edge.manage-edge-devices' | translate }}
  48 + </button>
  49 + <button mat-raised-button color="primary"
  50 + [disabled]="(isLoading$ | async)"
  51 + (click)="onEntityAction($event, 'openEdgeEntityViews')"
  52 + [fxShow]="!isEdit && edgeScope === 'tenant'">
  53 + {{'edge.manage-edge-entity-views' | translate }}
  54 + </button>
  55 + <button mat-raised-button color="primary"
  56 + [disabled]="(isLoading$ | async)"
  57 + (click)="onEntityAction($event, 'openEdgeDashboards')"
  58 + [fxShow]="!isEdit && edgeScope === 'tenant'">
  59 + {{'edge.manage-edge-dashboards' | translate }}
  60 + </button>
  61 + <button mat-raised-button color="primary"
  62 + [disabled]="(isLoading$ | async)"
  63 + (click)="onEntityAction($event, 'openEdgeRuleChains')"
  64 + [fxShow]="!isEdit && edgeScope === 'tenant'">
  65 + {{'edge.manage-edge-rulechains' | translate }}
  66 + </button>
37 67 <button mat-raised-button color="primary" fxFlex.xs
38 68 [disabled]="(isLoading$ | async)"
39 69 (click)="onEntityAction($event, 'delete')"
... ...