Skip to content

Commit

Permalink
fix(entity-table): fix entity-table buttons (#1041)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeLafreniere18 authored Apr 22, 2022
1 parent 6a48351 commit a671b53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
<ng-container *matCellDef="let record">
<td mat-cell class="mat-cell-text" [ngClass]="getCellClass(record, column)">
<span *ngFor="let button of getValue(record, column)">
<ng-container *ngIf="isEdition(record) === button.editMode">
<ng-container *ngIf="isEdition(record) === button.editMode || (!isEdition(record) && button.editMode === undefined)">
<button *ngIf="button.style === 'mat-icon-button'" igoStopPropagation mat-icon-button
[color]="button.color" (mousedown)="onButtonClick(button.click, record)" [disabled]="button.disabled">
<mat-icon svgIcon="{{button.icon}}"></mat-icon>
Expand Down

0 comments on commit a671b53

Please sign in to comment.