Added Projecttypes

This commit is contained in:
2024-11-20 13:42:12 +01:00
parent 2899633436
commit 0140ffaf5e

View File

@@ -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 ? [{
label: "Projekte",
to: "/projects",
@@ -240,25 +255,29 @@ const links = computed(() => {
label: "Text Vorlagen",
to: "/settings/texttemplates",
icon: "i-heroicons-clipboard-document-list"
},{
},/*{
label: "Eigene Felder",
to: "/settings/ownfields",
icon: "i-heroicons-clipboard-document-list"
},{
},*/{
label: "Firmeneinstellungen",
to: "/settings/tenant",
icon: "i-heroicons-clipboard-document-list"
},{
label: "Reparaturprozesse",
to: "/repairs/prozess/",
icon: "i-heroicons-bars-3-solid"
},{
label: "Projekttypen",
to: "/projecttypes",
icon: "i-heroicons-clipboard-document-list"
}/*,{
label: "Integrationen",
to: "/settings/integrations",
icon: "i-heroicons-clipboard-document-list"
}*/,{
label: "Labels",
to: "/settings/labels/",
icon: "i-heroicons-bars-3-solid"
}
]
},
}
]
})