From: Galen Charlton Date: Tue, 2 Jun 2020 18:51:35 +0000 (-0400) Subject: add curbside to the Angular navbar X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=923b97c2bfb487efa455c7da2338e7622c18c896;p=working%2FEvergreen.git add curbside to the Angular navbar Signed-off-by: Galen Charlton --- 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 5310b5b340..c7f8bf1b2c 100644 --- a/Open-ILS/src/eg2/src/app/staff/nav.component.html +++ b/Open-ILS/src/eg2/src/app/staff/nav.component.html @@ -137,6 +137,11 @@ signal_wifi_off Offline Circulation + + + directions_bus + Curbside Pickup + 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 5627f762ba..d90fc06b3c 100644 --- a/Open-ILS/src/eg2/src/app/staff/nav.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/nav.component.ts @@ -25,6 +25,7 @@ export class StaffNavComponent implements OnInit, OnDestroy { // When active, show a link to the experimental Angular staff catalog showAngularCatalog: boolean; + curbsideEnabled: boolean; @ViewChild('navOpChange', {static: false}) opChange: OpChangeComponent; permFailedSub: Subscription; @@ -60,6 +61,9 @@ export class StaffNavComponent implements OnInit, OnDestroy { this.org.settings('ui.staff.angular_catalog.enabled') .then(settings => this.showAngularCatalog = Boolean(settings['ui.staff.angular_catalog.enabled'])); + this.org.settings('circ.curbside') + .then(settings => this.curbsideEnabled = + Boolean(settings['circ.curbside'])); } // Wire up our op-change component as the general purpose