This commit is contained in:
2022-09-22 22:04:03 +00:00
parent 96763ba4a2
commit ea13024ae3
2 changed files with 10 additions and 7 deletions

View File

@@ -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);