diff --git a/ayanova/src/App.vue b/ayanova/src/App.vue
index 678a3045..07ad4166 100644
--- a/ayanova/src/App.vue
+++ b/ayanova/src/App.vue
@@ -61,7 +61,11 @@
:to="subsub.route"
>
- {{ subsub.icon }}
+ {{ subsub.icon }}
- {{ subitem.icon }}
+ {{ subitem.icon }}
{{
@@ -102,7 +110,9 @@
:data-cy="!!$ay.dev ? item.testid : false"
>
- {{ item.icon }}
+ {{
+ item.icon
+ }}
{{ item.title }}
diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js
index a19f76f7..e23578ea 100644
--- a/ayanova/src/api/initialize.js
+++ b/ayanova/src/api/initialize.js
@@ -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");
}