This commit is contained in:
@@ -52,7 +52,9 @@
|
||||
:to="subsub.route"
|
||||
>
|
||||
<v-list-item-action>
|
||||
<v-icon>{{ "fa-" + subsub.icon }}</v-icon>
|
||||
<v-icon v-if="subsub.icon">{{
|
||||
"fa-" + subsub.icon
|
||||
}}</v-icon>
|
||||
</v-list-item-action>
|
||||
<v-list-item-title
|
||||
v-text="subsub.title"
|
||||
@@ -67,7 +69,9 @@
|
||||
<div class="pl-3" :key="subitem.key">
|
||||
<v-list-item :to="subitem.route">
|
||||
<v-list-item-action>
|
||||
<v-icon>{{ "fa-" + subitem.icon }}</v-icon>
|
||||
<v-icon v-if="subitem.icon">{{
|
||||
"fa-" + subitem.icon
|
||||
}}</v-icon>
|
||||
</v-list-item-action>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title>{{
|
||||
@@ -86,7 +90,7 @@
|
||||
<template v-else>
|
||||
<div class="pl-3" :key="item.key">
|
||||
<v-list-item :to="item.route">
|
||||
<v-list-item-action>
|
||||
<v-list-item-action v-if="item.icon">
|
||||
<v-icon>{{ "fa-" + item.icon }}</v-icon>
|
||||
</v-list-item-action>
|
||||
<v-list-item-content>
|
||||
|
||||
@@ -119,7 +119,7 @@ export default function initialize() {
|
||||
key: key++
|
||||
});
|
||||
|
||||
//CUSTOMER (TOP)
|
||||
// ** CUSTOMER (TOP)
|
||||
addNavItem(
|
||||
window.$gz.locale.get("ClientList"),
|
||||
"address-book",
|
||||
@@ -233,16 +233,23 @@ export default function initialize() {
|
||||
key: key++
|
||||
});
|
||||
|
||||
//UNITS subitem
|
||||
// possible icons: robot, microchip, splotch, fan
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("UnitList"),
|
||||
icon: "fan",
|
||||
route: "/units",
|
||||
key: key++
|
||||
});
|
||||
//UNITS subitem
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("UnitList"),
|
||||
icon: "fan",
|
||||
route: "/units",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//Service (TOP GROUP)
|
||||
//UNIT MODELS subitem
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("UnitModels"),
|
||||
icon: undefined,
|
||||
route: "/unitmodels",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//**** Service (TOP GROUP)
|
||||
addNavItem(
|
||||
window.$gz.locale.get("Service"),
|
||||
"toolbox",
|
||||
|
||||
@@ -65,6 +65,7 @@ export default {
|
||||
"WorkorderPreventiveMaintenanceList",
|
||||
"WorkorderPreventiveMaintenanceTemplate",
|
||||
"UnitList",
|
||||
"UnitModels",
|
||||
//"Dispatch",
|
||||
"Inventory",
|
||||
"Accounting",
|
||||
|
||||
Reference in New Issue
Block a user