force-on ang7 cat for now user/berick/el-integrate-ang-phase2
authorBill Erickson <berickxx@gmail.com>
Tue, 12 Feb 2019 17:40:30 +0000 (17:40 +0000)
committerBill Erickson <berickxx@gmail.com>
Tue, 12 Feb 2019 17:40:30 +0000 (17:40 +0000)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/nav.component.ts

index 852562c..6c3eb2e 100644 (file)
@@ -47,11 +47,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() {