From 012838b4f0897f081bef5c9e6cbe02fa6b7b5953 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 12 Feb 2019 17:40:30 +0000 Subject: [PATCH] force-on ang7 cat for now Signed-off-by: Bill Erickson --- Open-ILS/src/eg2/src/app/staff/nav.component.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Open-ILS/src/eg2/src/app/staff/nav.component.ts b/Open-ILS/src/eg2/src/app/staff/nav.component.ts index f143727a33..3c695ae40a 100644 --- a/Open-ILS/src/eg2/src/app/staff/nav.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/nav.component.ts @@ -49,11 +49,17 @@ export class StaffNavComponent implements OnInit { // NOTE: this can eventually go away. // Avoid attempts to fetch org settings if the user has not yet // logged in (e.g. this is the login page). + + // Force-show the angular catalog for Elastic dev, since that's + // the only site that will support it for now. + this.showAngularCatalog = true; + /* if (this.user()) { this.org.settings('ui.staff.angular_catalog.enabled') .then(settings => this.showAngularCatalog = Boolean(settings['ui.staff.angular_catalog.enabled'])); } + */ } user() { -- 2.11.0