Browse Source

UI: Refactoring dashboard detail button

pull/9332/head
Artem Dzhereleiko 3 years ago
parent
commit
77745b58a1
  1. 20
      ui-ngx/src/app/modules/home/pages/dashboard/dashboard-form.component.html

20
ui-ngx/src/app/modules/home/pages/dashboard/dashboard-form.component.html

@ -65,16 +65,16 @@
[fxShow]="!hideDelete() && !isEdit">
{{'dashboard.delete' | translate }}
</button>
</div>
<div fxLayout="row">
<button mat-raised-button
ngxClipboard
(cbOnSuccess)="onDashboardIdCopied($event)"
[cbContent]="entity?.id?.id"
[fxShow]="!isEdit">
<mat-icon svgIcon="mdi:clipboard-arrow-left"></mat-icon>
<span translate>dashboard.copyId</span>
</button>
<div fxLayout="row">
<button mat-raised-button
ngxClipboard
(cbOnSuccess)="onDashboardIdCopied($event)"
[cbContent]="entity?.id?.id"
[fxShow]="!isEdit">
<mat-icon svgIcon="mdi:clipboard-arrow-left"></mat-icon>
<span translate>dashboard.copyId</span>
</button>
</div>
</div>
<div class="mat-padding" fxLayout="column">
<mat-form-field class="mat-block"

Loading…
Cancel
Save