aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/menu/menu.component.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/menu/menu.component.ts b/client/src/app/menu/menu.component.ts
index 37702e975..75bae090e 100644
--- a/client/src/app/menu/menu.component.ts
+++ b/client/src/app/menu/menu.component.ts
@@ -166,6 +166,8 @@ export class MenuComponent implements OnInit {
166 } 166 }
167 167
168 langForLocale (localeId: string) { 168 langForLocale (localeId: string) {
169 if (localeId === '_unknown') return this.i18n('Unknown')
170
169 return this.languages.find(lang => lang.id === localeId).label 171 return this.languages.find(lang => lang.id === localeId).label
170 } 172 }
171 173