From b08672c1d9a235bd72a623a2545f3e8af56f3d51 Mon Sep 17 00:00:00 2001 From: Bertrand Zuchuat Date: Mon, 13 Jul 2026 14:09:16 +0200 Subject: [PATCH] chore(menu): add bold on the current language Co-Authored-by: Bertrand Zuchuat --- projects/sonar/src/app/_layout/admin/admin.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/sonar/src/app/_layout/admin/admin.component.ts b/projects/sonar/src/app/_layout/admin/admin.component.ts index 9b020e14..de88c817 100644 --- a/projects/sonar/src/app/_layout/admin/admin.component.ts +++ b/projects/sonar/src/app/_layout/admin/admin.component.ts @@ -130,6 +130,7 @@ export class AdminComponent { icon: 'fa-solid fa-language', items: availableLanguages.map((lang) => ({ label: this.translateService.instant(lang.name), + styleClass: this.translateService.getCurrentLang() === lang.code ? 'ui:font-bold' : '', command: () => this.changeLanguage(lang.code), })), },