เอาสถานะ DELETE ออกจาก calendar
This commit is contained in:
parent
5b896e045e
commit
08d3c3ac79
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ async function fetchDataCalendar() {
|
||||||
);
|
);
|
||||||
|
|
||||||
const event = data
|
const event = data
|
||||||
.filter((x: any) => x.status != "REJECT")
|
.filter((x: any) => x.status != "REJECT" && x.status != "DELETE")
|
||||||
.map((e: DataCalendar) => ({
|
.map((e: DataCalendar) => ({
|
||||||
id: e.id,
|
id: e.id,
|
||||||
title: `${e.fullName} (${e.leaveTypeName})`,
|
title: `${e.fullName} (${e.leaveTypeName})`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue