This commit is contained in:
@@ -30,6 +30,7 @@ function initNavPanel() {
|
||||
const useInventory = window.$gz.store.state.globalSettings.useInventory;
|
||||
const licenseLockout = window.$gz.store.state.l;
|
||||
const isSu = window.$gz.store.getters.isSuperUser == true;
|
||||
|
||||
/*Service = 1,
|
||||
NotService = 2,
|
||||
Customer = 3,
|
||||
|
||||
@@ -245,13 +245,15 @@ function generateMenu(vm) {
|
||||
vm: vm
|
||||
});
|
||||
|
||||
menuOptions.menuItems.push({
|
||||
title: "ShutDownServer",
|
||||
icon: "$ayiStopCircle",
|
||||
surface: false,
|
||||
key: FORM_KEY + ":shutdown",
|
||||
vm: vm
|
||||
});
|
||||
if (!window.$gz.store.state.globalSettings.sBuild)
|
||||
//not available to service build (subscription build)
|
||||
menuOptions.menuItems.push({
|
||||
title: "ShutDownServer",
|
||||
icon: "$ayiStopCircle",
|
||||
surface: false,
|
||||
key: FORM_KEY + ":shutdown",
|
||||
vm: vm
|
||||
});
|
||||
}
|
||||
|
||||
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
||||
|
||||
Reference in New Issue
Block a user