From d5aed2140eb1184ab48ffe291d8c05ba4786656f Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Wed, 29 Apr 2026 16:19:03 +0200 Subject: [PATCH] =?UTF-8?q?Plantafel-Modal=20f=C3=BCr=20Profile=20ohne=20B?= =?UTF-8?q?enutzerzuordnung=20absichern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/pages/organisation/plantafel.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/pages/organisation/plantafel.vue b/frontend/pages/organisation/plantafel.vue index 3ac6dfc..d1e81aa 100644 --- a/frontend/pages/organisation/plantafel.vue +++ b/frontend/pages/organisation/plantafel.vue @@ -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`