This commit is contained in:
2022-01-03 19:45:28 +00:00
parent 059d4a97f2
commit 52866a4af8
2 changed files with 38 additions and 4 deletions

View File

@@ -170,6 +170,40 @@ function initNavPanel() {
key++,
"license"
);
//add some diagnostic ops features in case that's needed to resolve license issue
sub = [];
// LOGS
if (window.$gz.role.canOpen(window.$gz.type.LogFile)) {
sub.push({
title: "ServerLog",
icon: "$ayiHistory",
route: "/ops-log",
key: key++
});
}
// OPS VIEW SERVER CONFIGURATION
if (window.$gz.role.canOpen(window.$gz.type.GlobalOps)) {
sub.push({
title: "ViewServerConfiguration",
icon: "$ayiInfoCircle",
route: "/ops-view-configuration",
key: key++
});
}
// ** OPERATIONS (TOP)
if (sub.length > 0) {
addNavItem(
"Operations",
"$ayiServer",
undefined,
sub,
key++,
"operations"
);
}
window.$gz.store.commit("setHomePage", "/adm-license");
return;
}