salutation management views

This commit is contained in:
Julian Krauser 2025-01-25 12:16:05 +01:00
parent 3866d406b2
commit bc721d06ab
14 changed files with 541 additions and 91 deletions

View file

@ -63,7 +63,7 @@ export const useNavigationStore = defineStore("navigation", {
{
key: "settings",
title: "Einstellungen",
levelDefault: "award",
levelDefault: "salutation",
} as topLevelNavigationModel,
]
: []),
@ -99,6 +99,7 @@ export const useNavigationStore = defineStore("navigation", {
mainTitle: "Einstellungen",
main: [
{ key: "divider1", title: "Mitgliederdaten" },
...(abilityStore.can("read", "settings", "salutation") ? [{ key: "salutation", title: "Anrede" }] : []),
...(abilityStore.can("read", "settings", "award") ? [{ key: "award", title: "Auszeichnungen" }] : []),
...(abilityStore.can("read", "settings", "communication_type")
? [{ key: "communication_type", title: "Kommunikationsarten" }]