From: Bill Erickson Date: Mon, 6 Aug 2018 14:04:19 +0000 (-0400) Subject: LP#1775466 Local tweaks X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=acbbad3584617c30bd95df89e7b1068bd9aacf4d;p=working%2FEvergreen.git LP#1775466 Local tweaks Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/core/locale.service.ts b/Open-ILS/src/eg2/src/app/core/locale.service.ts index 9c4ae64898..10be460ed3 100644 --- a/Open-ILS/src/eg2/src/app/core/locale.service.ts +++ b/Open-ILS/src/eg2/src/app/core/locale.service.ts @@ -37,11 +37,13 @@ export class LocaleService { window.location.href = url; } - // Returns i18n_l objects + // Returns codes supported for the current environment. supportedLocaleCodes(): string[] { return environment.locales || []; } + // Returns i18n_l objects matching the locales supported + // in the current environment. supportedLocales(): Observable { const locales = this.supportedLocaleCodes(); diff --git a/Open-ILS/src/eg2/src/app/staff/nav.component.html b/Open-ILS/src/eg2/src/app/staff/nav.component.html index 54fb503f10..2508cffbdf 100644 --- a/Open-ILS/src/eg2/src/app/staff/nav.component.html +++ b/Open-ILS/src/eg2/src/app/staff/nav.component.html @@ -363,7 +363,6 @@