This commit is contained in:
2024-03-11 14:51:13 +01:00
parent 62b5e1bc57
commit 99b8738c31
9 changed files with 665 additions and 41 deletions

View File

@@ -16,7 +16,7 @@ let currentItem = ref(null)
//Working
const mode = ref(route.params.mode || "show")
const itemInfo = ref({
approved: null
approved: "Offen"
})
const states = ["Offen","Genehmigt", "Abgelehnt"]
@@ -152,7 +152,7 @@ setupPage()
:search-attributes="['fullName']"
>
<template #label>
{{dataStore.profiles.find(item => item.id === itemInfo.user) ? dataStore.profiles.find(item => item.id === itemInfo.user).fullName : "Mitarbeiter auswählen"}}
{{dataStore.getProfileById(itemInfo.user) ? dataStore.getProfileById(itemInfo.user).fullName : "Mitarbeiter auswählen"}}
</template>
</USelectMenu>
</UFormGroup>