calendartypes

This commit is contained in:
Julian Krauser 2024-10-27 15:51:15 +01:00
parent 5c2865a9e5
commit 762a9f2b8e
12 changed files with 523 additions and 11 deletions

View file

@ -87,9 +87,9 @@ export const useNavigationStore = defineStore("navigation", {
mainTitle: "Verein",
main: [
...(abilityStore.can("read", "club", "member") ? [{ key: "member", title: "Mitglieder" }] : []),
...(abilityStore.can("read", "club", "calendar") ? [{ key: "calendar", title: "Termine" }] : []),
...(abilityStore.can("read", "club", "newsletter") ? [{ key: "newsletter", title: "Newsletter" }] : []),
...(abilityStore.can("read", "club", "calendar") ? [{ key: "calendar", title: "Kalender" }] : []),
...(abilityStore.can("read", "club", "protocoll") ? [{ key: "protocol", title: "Protokolle" }] : []),
...(abilityStore.can("read", "club", "newsletter") ? [{ key: "newsletter", title: "Newsletter" }] : []),
],
},
settings: {
@ -108,6 +108,9 @@ export const useNavigationStore = defineStore("navigation", {
...(abilityStore.can("read", "settings", "membership_status")
? [{ key: "membership_status", title: "Mitgliedsstatus" }]
: []),
...(abilityStore.can("read", "settings", "calendar_type")
? [{ key: "calendar_type", title: "Terminarten" }]
: []),
],
},
user: {