Added Right Check to Kontakte

icon Changes
This commit is contained in:
2025-01-20 09:57:56 +01:00
parent 96a66f24e6
commit 879a8da1f4

View File

@@ -76,7 +76,7 @@ const links = computed(() => {
}
]
},
... profileStore.ownTenant.features.contacts ? [{
... (role.checkRight("customers") || role.checkRight("vendors") || role.checkRight("contacts")) ? [{
label: "Kontakte",
defaultOpen: false,
icon: "i-heroicons-user-group",
@@ -242,7 +242,7 @@ const links = computed(() => {
{
label: "Abrechnung",
to: "https://billing.stripe.com/p/login/cN29Eb32Vdx0gOk288",
icon: "i-heroicons-clipboard-document-list",
icon: "i-heroicons-document-currency-euro",
target: "_blank"
},{
label: "Nummernkreise",
@@ -251,15 +251,15 @@ const links = computed(() => {
},{
label: "Rollen",
to: "/roles",
icon: "i-heroicons-clipboard-document-list"
icon: "i-heroicons-key"
},{
label: "E-Mail Konten",
to: "/settings/emailAccounts",
icon: "i-heroicons-clipboard-document-list"
icon: "i-heroicons-envelope"
},{
label: "Bankkonten",
to: "/settings/banking",
icon: "i-heroicons-clipboard-document-list"
icon: "i-heroicons-currency-euro"
},{
label: "Text Vorlagen",
to: "/settings/texttemplates",
@@ -271,7 +271,7 @@ const links = computed(() => {
},*/{
label: "Firmeneinstellungen",
to: "/settings/tenant",
icon: "i-heroicons-clipboard-document-list"
icon: "i-heroicons-building-office"
},{
label: "Projekttypen",
to: "/projecttypes",