<span class="material-icons" aria-hidden="true">signal_wifi_off</span>
<span i18n>Offline Circulation</span>
</a>
+ <div *ngIf="curbsideEnabled" class="dropdown-divider"></div>
+ <a *ngIf="curbsideEnabled" class="dropdown-item" href="/eg/staff/circ/curbside/index">
+ <span class="material-icons">directions_bus</span>
+ <span i18n>Curbside Pickup</span>
+ </a>
</div>
</div>
</div>
// When active, show a link to the experimental Angular staff catalog
showAngularCatalog: boolean;
+ curbsideEnabled: boolean;
@ViewChild('navOpChange', {static: false}) opChange: OpChangeComponent;
permFailedSub: Subscription;
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