Plantafel-Modal für Profile ohne Benutzerzuordnung absichern
This commit is contained in:
@@ -596,11 +596,17 @@ async function openProfileDetails(profileId) {
|
||||
selectedProfile.value = profile
|
||||
selectedProfileVacationSummary.value = null
|
||||
isProfileDetailsModalOpen.value = true
|
||||
loadingProfileVacation.value = true
|
||||
|
||||
const requestId = profileVacationRequestId.value + 1
|
||||
profileVacationRequestId.value = requestId
|
||||
|
||||
if (!profile.user_id) {
|
||||
loadingProfileVacation.value = false
|
||||
return
|
||||
}
|
||||
|
||||
loadingProfileVacation.value = true
|
||||
|
||||
try {
|
||||
const from = `${currentVacationYear.value}-01-01`
|
||||
const to = `${currentVacationYear.value}-12-31`
|
||||
|
||||
Reference in New Issue
Block a user