Commit fee5034e464ef79ed011fd08d7f3a140d2fd2ddb

Authored by Artem Babak
1 parent b285b2b0

Edge dashboards cell action buttons

@@ -250,6 +250,12 @@ export class DashboardsTableConfigResolver implements Resolve<EntityTableConfig< @@ -250,6 +250,12 @@ export class DashboardsTableConfigResolver implements Resolve<EntityTableConfig<
250 if (dashboardScope === 'edge') { 250 if (dashboardScope === 'edge') {
251 actions.push( 251 actions.push(
252 { 252 {
  253 + name: this.translate.instant('dashboard.export'),
  254 + icon: 'file_download',
  255 + isEnabled: () => true,
  256 + onAction: ($event, entity) => this.exportDashboard($event, entity)
  257 + },
  258 + {
253 name: this.translate.instant('edge.unassign-from-edge'), 259 name: this.translate.instant('edge.unassign-from-edge'),
254 icon: 'portable_wifi_off', 260 icon: 'portable_wifi_off',
255 isEnabled: (entity) => true, 261 isEnabled: (entity) => true,