Skip to content

Commit 5891509

Browse files
Copilotrenemadsen
andcommitted
Add icon preview to menu editor dialog
Co-authored-by: renemadsen <[email protected]>
1 parent 0bb00fb commit 5891509

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

eform-client/src/app/modules/advanced/modules/navigation-menu/components/menu-item/navigation-menu-item-edit/navigation-menu-item-edit.component.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ <h3 mat-dialog-title>{{'Edit menu entry' | translate}}</h3>
2424
placeholder="e.g., home, settings, dashboard"
2525
>
2626
</mat-form-field>
27+
<div class="d-flex flex-row align-items-center mb-3" *ngIf="item.icon">
28+
<span class="me-2">{{ 'Icon preview' | translate }}:</span>
29+
<mat-icon id="editIconPreview">{{ item.icon }}</mat-icon>
30+
</div>
2731
<div class="d-flex flex-row align-items-center need-wrapper"
2832
*ngIf="item.type === menuItemType.CustomLink || item.type === menuItemType.Link">
2933
<mat-form-field>

0 commit comments

Comments
 (0)