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