เอาสถานะ DELETE ออกจาก calendar

This commit is contained in:
Warunee Tamkoo 2023-12-20 18:02:23 +07:00
parent 5b896e045e
commit 08d3c3ac79

View file

@ -107,7 +107,7 @@ async function fetchDataCalendar() {
);
const event = data
.filter((x: any) => x.status != "REJECT")
.filter((x: any) => x.status != "REJECT" && x.status != "DELETE")
.map((e: DataCalendar) => ({
id: e.id,
title: `${e.fullName} (${e.leaveTypeName})`,