This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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++
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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"
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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"
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user