Skip to content

Commit

Permalink
Merge pull request #885 from gisaia/fix/css_brek
Browse files Browse the repository at this point in the history
Fix missing action css class names
  • Loading branch information
MohamedHamouGisaia authored Nov 12, 2024
2 parents 7572061 + 122d68c commit 990f7a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
<ng-template #textActions>
<ng-container *ngFor="let action of actions">
<ng-container *ngIf="action?.show === true">
<button mat-raised-button *ngIf="!action?.activated else activeButton" class="text-action"
<button mat-raised-button *ngIf="!action?.activated else activeButton" class="text-action {{action.id}}-action {{action.cssClass}}-action"
(click)="triggerAction($event, action)" matTooltip="{{action | actionDisplayer:'tooltip' |translate}}">
{{action | actionDisplayer:'label' | translate}}
</button>
<ng-template #activeButton>
<button mat-raised-button *ngIf="action?.activated" (click)="triggerAction($event, action)"
class="text-action" matTooltip="{{action | actionDisplayer:'tooltip' |translate}}">
class="resultdetaileditem__actions text-action {{action.id}}-action {{action.cssClass}}-action" matTooltip="{{action | actionDisplayer:'tooltip' |translate}}">
{{action | actionDisplayer:'label' | translate}}
</button>
</ng-template>
Expand Down

0 comments on commit 990f7a5

Please sign in to comment.