Skip to content
Snippets Groups Projects
Verified Commit d958fd8b authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #11269 TIME 0:05 disable delete default model

parent c5d77c29
No related branches found
No related tags found
No related merge requests found
...@@ -58,8 +58,7 @@ ...@@ -58,8 +58,7 @@
<ng-container matColumnDef="actions"> <ng-container matColumnDef="actions">
<mat-header-cell *matHeaderCellDef></mat-header-cell> <mat-header-cell *matHeaderCellDef></mat-header-cell>
<mat-cell *matCellDef="let element" style="justify-content: flex-end;"> <mat-cell *matCellDef="let element" style="justify-content: flex-end;">
<button mat-icon-button color="warn" [disabled]="element.is_system == 'Y'" <button mat-icon-button color="warn" matTooltip="{{lang.delete}}" (click)="$event.stopPropagation();delete(element)" [disabled]="element.default">
matTooltip="{{lang.delete}}" (click)="$event.stopPropagation();delete(element)">
<mat-icon class="fa fa-trash-alt fa-2x" aria-hidden="true"></mat-icon> <mat-icon class="fa fa-trash-alt fa-2x" aria-hidden="true"></mat-icon>
</button> </button>
</mat-cell> </mat-cell>
......
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