Skip to content

Commit a038cac

Browse files
Copilotrenemadsen
andcommitted
Fix code review issues: unique IDs and warn color placement
Co-authored-by: renemadsen <[email protected]>
1 parent a89055f commit a038cac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

eform-client/src/app/plugins/modules/greate-belt-pn/components/report/report-page/report-table/report-table.component.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<ng-template #actionsTpl let-row let-i="index">
2020
<div class="report-actions" id="action-items-{{i}}">
21-
<button id="actionMenu" mat-icon-button [matMenuTriggerFor]="menu" matTooltip="{{ 'Actions' | translate }}">
21+
<button id="actionMenu-{{i}}" mat-icon-button [matMenuTriggerFor]="menu" matTooltip="{{ 'Actions' | translate }}">
2222
<mat-icon>more_vert</mat-icon>
2323
</button>
2424

@@ -41,10 +41,11 @@
4141
</button>
4242
<button
4343
mat-menu-item
44+
color="warn"
4445
id="deleteCaseBtn-{{i}}"
4546
(click)="onDeleteCase(row)"
4647
>
47-
<mat-icon color="warn">delete</mat-icon>
48+
<mat-icon>delete</mat-icon>
4849
<span>{{ 'Delete Case' | translate }}</span>
4950
</button>
5051
</mat-menu>

0 commit comments

Comments
 (0)