This commit is contained in:
2019-12-18 22:49:17 +00:00
parent 3e7b927118
commit 8399038370
4 changed files with 8 additions and 4 deletions

View File

@@ -11,6 +11,10 @@ export default {
// called from App.vue // called from App.vue
handleMenuChange(vm, ctx) { handleMenuChange(vm, ctx) {
vm.appBar.isMain = ctx.isMain; vm.appBar.isMain = ctx.isMain;
if (ctx.icon && !ctx.icon.startsWith("fa-")) {
ctx.icon = "fa-" + ctx.icon;
}
vm.appBar.icon = ctx.icon; vm.appBar.icon = ctx.icon;
vm.appBar.title = ctx.title; vm.appBar.title = ctx.title;

View File

@@ -289,7 +289,7 @@ export default function initialize() {
//PARTS (part list) //PARTS (part list)
sub.push({ sub.push({
title: window.$gz.locale.get("PartList"), title: window.$gz.locale.get("PartList"),
icon: "cubes", icon: "boxes",
route: "/parts", route: "/parts",
key: key++ key: key++
}); });
@@ -313,7 +313,7 @@ export default function initialize() {
//PURCHASE ORDERS //PURCHASE ORDERS
sub.push({ sub.push({
title: window.$gz.locale.get("InventoryPurchaseOrders"), title: window.$gz.locale.get("InventoryPurchaseOrders"),
icon: "boxes", icon: "shipping-fast",
route: "/polist", route: "/polist",
key: key++ key: key++
}); });

View File

@@ -12,7 +12,7 @@ export default {
beforeCreate() { beforeCreate() {
window.$gz.eventBus.$emit("menu-change", { window.$gz.eventBus.$emit("menu-change", {
isMain: true, isMain: true,
icon: "cubes", icon: "boxes",
title: window.$gz.locale.get("PartList"), title: window.$gz.locale.get("PartList"),
helpUrl: "user-form-parts" helpUrl: "user-form-parts"
}); });

View File

@@ -12,7 +12,7 @@ export default {
beforeCreate() { beforeCreate() {
window.$gz.eventBus.$emit("menu-change", { window.$gz.eventBus.$emit("menu-change", {
isMain: true, isMain: true,
icon: "boxes", icon: "shipping-fast",
title: window.$gz.locale.get("InventoryPurchaseOrders"), title: window.$gz.locale.get("InventoryPurchaseOrders"),
helpUrl: "user-form-purchase-order-list" helpUrl: "user-form-purchase-order-list"
}); });