This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user