From ff663c0c3914f1bd0588fac6e6a4d8c9c60dba5c Mon Sep 17 00:00:00 2001 From: dyhj625 Date: Tue, 11 Mar 2025 16:05:58 +0900 Subject: [PATCH] =?UTF-8?q?=ED=9C=B4=EA=B0=80=EA=B4=80=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/vacation/VacationManagement.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/vacation/VacationManagement.vue b/src/views/vacation/VacationManagement.vue index c207266..7bbbe66 100644 --- a/src/views/vacation/VacationManagement.vue +++ b/src/views/vacation/VacationManagement.vue @@ -347,7 +347,7 @@ async function saveVacationChanges() { const vacationsToDelete = myVacations.value.filter(vac => { if (!vac.date) return false; const vacDate = vac.date.split("T")[0]; - return vacationChanges.delete.includes(vacDate); + return vacationChanges.delete.includes(vacDate) && !vac.receiverId; }); vacationIdsToDelete.push(...vacationsToDelete.map(vac => vac.id)); }