Added Projecttypes
This commit is contained in:
@@ -199,6 +199,21 @@ const links = computed(() => {
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
/*... dataStore.ownTenant.features.projects ? [{
|
||||||
|
label: "Projekte",
|
||||||
|
defaultOpen: false,
|
||||||
|
icon: "i-heroicons-clipboard-document-check",
|
||||||
|
children: [
|
||||||
|
...dataStore.ownTenant.projecttypes.map(i => {
|
||||||
|
return {
|
||||||
|
label: i.label,
|
||||||
|
to: `/projects?type=${i.label}`,
|
||||||
|
icon: i.icon
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
]
|
||||||
|
},] : [],*/
|
||||||
... dataStore.ownTenant.features.projects ? [{
|
... dataStore.ownTenant.features.projects ? [{
|
||||||
label: "Projekte",
|
label: "Projekte",
|
||||||
to: "/projects",
|
to: "/projects",
|
||||||
@@ -240,25 +255,29 @@ const links = computed(() => {
|
|||||||
label: "Text Vorlagen",
|
label: "Text Vorlagen",
|
||||||
to: "/settings/texttemplates",
|
to: "/settings/texttemplates",
|
||||||
icon: "i-heroicons-clipboard-document-list"
|
icon: "i-heroicons-clipboard-document-list"
|
||||||
},{
|
},/*{
|
||||||
label: "Eigene Felder",
|
label: "Eigene Felder",
|
||||||
to: "/settings/ownfields",
|
to: "/settings/ownfields",
|
||||||
icon: "i-heroicons-clipboard-document-list"
|
icon: "i-heroicons-clipboard-document-list"
|
||||||
},{
|
},*/{
|
||||||
label: "Firmeneinstellungen",
|
label: "Firmeneinstellungen",
|
||||||
to: "/settings/tenant",
|
to: "/settings/tenant",
|
||||||
icon: "i-heroicons-clipboard-document-list"
|
icon: "i-heroicons-clipboard-document-list"
|
||||||
},{
|
},{
|
||||||
label: "Reparaturprozesse",
|
label: "Projekttypen",
|
||||||
to: "/repairs/prozess/",
|
to: "/projecttypes",
|
||||||
icon: "i-heroicons-bars-3-solid"
|
icon: "i-heroicons-clipboard-document-list"
|
||||||
},{
|
}/*,{
|
||||||
|
label: "Integrationen",
|
||||||
|
to: "/settings/integrations",
|
||||||
|
icon: "i-heroicons-clipboard-document-list"
|
||||||
|
}*/,{
|
||||||
label: "Labels",
|
label: "Labels",
|
||||||
to: "/settings/labels/",
|
to: "/settings/labels/",
|
||||||
icon: "i-heroicons-bars-3-solid"
|
icon: "i-heroicons-bars-3-solid"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user