Skip to content
Snippets Groups Projects
Commit 424207cb authored by Florent Poittevin's avatar Florent Poittevin
Browse files

Disable button delete when resource not finish to load

parent 9bfce0d9
No related branches found
No related tags found
No related merge requests found
<div class="button-toolbar">
<button mat-flat-button color="primary" (click)="edit()">{{KEY_EDIT_BUTTON | translate}}</button>
<button mat-flat-button color="accent" (click)="delete()">{{KEY_DELETE_BUTTON | translate}}</button>
<button mat-flat-button
color="primary"
(click)="edit()">
{{KEY_EDIT_BUTTON | translate}}
</button>
<button mat-flat-button
color="accent"
[disabled]="!(currentObs| async)"
(click)="delete()">
{{KEY_DELETE_BUTTON | translate}}
</button>
</div>
<div class="wrapper">
......
<div class="button-toolbar">
<button mat-flat-button color="primary" (click)="edit()">{{KEY_EDIT_BUTTON | translate}}</button>
<button mat-flat-button color="accent" (click)="delete()">{{KEY_DELETE_BUTTON | translate}}</button>
<button mat-flat-button
color="primary"
(click)="edit()">
{{KEY_EDIT_BUTTON | translate}}
</button>
<button mat-flat-button
color="accent"
[disabled]="!(currentObs| async)"
(click)="delete()">
{{KEY_DELETE_BUTTON | translate}}
</button>
</div>
<div class="wrapper">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment