From 879a8da1f422f584e1b12dd17219a38521f14ef8 Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Mon, 20 Jan 2025 09:57:56 +0100 Subject: [PATCH] Added Right Check to Kontakte icon Changes --- components/MainNav.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/MainNav.vue b/components/MainNav.vue index f0f53e5..3d2e6e9 100644 --- a/components/MainNav.vue +++ b/components/MainNav.vue @@ -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",