Refactor button class in pickup-shelf-out-details.component.html

This commit is contained in:
Lorenz Hilpert
2024-10-18 13:44:58 +02:00
parent 39c8a512f4
commit 301f5878c2

View File

@@ -42,7 +42,7 @@
<div class="page-pickup-shelf-out-details__action-wrapper">
<button
[disabled]="actionsDisabled$ | async"
class="cta-action shadow-action"
[class]="['cta-action', 'shadow-action', action.command.toLowerCase()?.replace('|', '-')]"
[class.cta-action-primary]="action.selected"
[class.cta-action-secondary]="!action.selected"
*ngFor="let action of mainActions$ | async"