Skip to content

Commit

Permalink
Swap button with achor tag for dropdown items
Browse files Browse the repository at this point in the history
  • Loading branch information
laxerhd committed Dec 15, 2024
1 parent c4bc5a8 commit 860afb4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ <h5 class="mb-0" id="exercise-header"><fa-icon class="me-2" [icon]="exerciseIcon
</button>
<div ngbDropdownMenu aria-labelledby="instructor-actions-dropdown">
@for (instructorActionItem of instructorActionItems; track instructorActionItem) {
<button class="btn" [routerLink]="instructorActionItem.routerLink" ngbDropdownItem>
<a class="btn" [routerLink]="instructorActionItem.routerLink" ngbDropdownItem>
@if (instructorActionItem.icon) {
<fa-icon [fixedWidth]="true" [icon]="instructorActionItem.icon" class="ms-2 me-3" />
}
<span [jhiTranslate]="instructorActionItem.translation"></span>
</button>
</a>
}
</div>
</div>
Expand Down

0 comments on commit 860afb4

Please sign in to comment.