This commit is contained in:
@@ -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