휴가관리

This commit is contained in:
dyhj625 2025-03-11 16:05:58 +09:00
parent 69fb0669be
commit ff663c0c39

View File

@ -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));
}