diff --git a/ayanova/src/App.vue b/ayanova/src/App.vue
index 2d61a0aa..4ebf6ca0 100644
--- a/ayanova/src/App.vue
+++ b/ayanova/src/App.vue
@@ -64,12 +64,14 @@
-
+
- {{ "fa-" + item.icon }}
+ {{ "fa-" + item.icon }}
- {{ item.title }}
+
+ {{ item.title }}
+
@@ -150,6 +152,7 @@ export default {
that.appBar.menuItems.push({
title: this.$gzlocale.get("Logout"),
icon: "sign-out-alt",
+ color: "pink",
key: "app:logout"
});
@@ -164,15 +167,15 @@ export default {
//////////////////////////////////
//CLICK EVENT HANDLER
//
- this.$gzevent.$on("menu-click", function(key) {
- if (key.startsWith("app:")) {
- if (key.startsWith("app:help:")) {
+ this.$gzevent.$on("menu-click", function(item) {
+ if (!item.disabled && item.key.startsWith("app:")) {
+ if (item.key.startsWith("app:help:")) {
// "https://www.ayanova.com/AyaNova7webHelp/" +
var helpurl =
- that.$store.state.helpUrl + key.replace("app:help:", "");
+ that.$store.state.helpUrl + item.key.replace("app:help:", "");
window.open(helpurl, "_blank");
} else {
- alert("STUB: App.vue::menu click: " + key);
+ alert("STUB: App.vue::menu click: " + item.key);
}
}
});
diff --git a/ayanova/src/plugins/vuetify.js b/ayanova/src/plugins/vuetify.js
index ea50ecfb..8d770830 100644
--- a/ayanova/src/plugins/vuetify.js
+++ b/ayanova/src/plugins/vuetify.js
@@ -8,6 +8,7 @@ Vue.use(Vuetify, {
primary: "#00205B",
secondary: "#00843D",
accent: "#ffff00",
- error: "#b71c1c"
+ error: "#b71c1c",
+ disabled: "#e0e0e0"
}
});
diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue
index f877d5a5..2e719ba4 100644
--- a/ayanova/src/views/inventory-widget-edit.vue
+++ b/ayanova/src/views/inventory-widget-edit.vue
@@ -130,9 +130,9 @@