This commit is contained in:
@@ -1,17 +1,23 @@
|
||||
/* Xeslint-disable */
|
||||
|
||||
function addNavItem(title, icon, route, navItems, key, testid) {
|
||||
function addNavItem(title, icon, route, navItems, key, testid, color = null) {
|
||||
if (!testid) {
|
||||
testid = route;
|
||||
}
|
||||
window.$gz.store.commit("addNavItem", {
|
||||
|
||||
let o = {
|
||||
title,
|
||||
icon,
|
||||
route,
|
||||
navItems,
|
||||
key: key,
|
||||
testid: testid
|
||||
});
|
||||
};
|
||||
if (color != null) {
|
||||
o["color"] = color;
|
||||
}
|
||||
|
||||
window.$gz.store.commit("addNavItem", o);
|
||||
}
|
||||
|
||||
function initNavPanel() {
|
||||
@@ -737,7 +743,8 @@ function initNavPanel() {
|
||||
"/ay-evaluate",
|
||||
[],
|
||||
key++,
|
||||
"evaluate"
|
||||
"evaluate",
|
||||
"secondary"
|
||||
);
|
||||
window.$gz.store.commit("setHomePage", "/ay-evaluate");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user