currentLocale: any;
// When active, show a link to the traditional staff catalog
- showTraditionalCatalog: boolean;
+ showTraditionalCatalog = true;
curbsideEnabled: boolean;
@ViewChild('navOpChange', {static: false}) opChange: OpChangeComponent;
$scope.showRecentPatron = val > 0;
$scope.showRecentPatrons = val > 1;
- $scope.showTraditionalCatalog =
- s['ui.staff.traditional_catalog.enabled'];
+ val = s['ui.staff.traditional_catalog.enabled'];
+ $scope.showTraditionalCatalog = (val !== false);
$scope.enableCurbside =
s['circ.curbside'];
}).then(function() {
--- /dev/null
+== Optionally remove traditional catalog from menu ==
+
+Libraries that have fully migrated to the Angular staff catalog
+may optionally hide the "Staff Catalog (Traditional)" menu
+options. To do so, in the Library Settings Editor, set the
+"ui.staff.traditional_catalog.enabled" setting to False.
+
+After changing the setting, you will need to log out and log
+back in to see the changes to the menu.
+