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
handleMenuChange(vm, ctx) {
vm.appBar.isMain = ctx.isMain;
if (ctx.icon && !ctx.icon.startsWith("fa-")) {
ctx.icon = "fa-" + ctx.icon;
}
vm.appBar.icon = ctx.icon;
vm.appBar.title = ctx.title;

View File

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

View File

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

View File

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