diff --git a/client/src/pages/notifications.tsx b/client/src/pages/notifications.tsx index 7e666050..b229ec9f 100644 --- a/client/src/pages/notifications.tsx +++ b/client/src/pages/notifications.tsx @@ -80,8 +80,9 @@ const Notifications: NextPage = (): JSX.Element => { startDate: parsedData.StartDate, endDate: parsedData.EndDate, leaveType: - notificationType === NOTIFICATION_TYPE.LEAVE || NOTIFICATION_TYPE.LEAVE_RESOLVED - ? parsedData.LeaveType + notificationType === NOTIFICATION_TYPE.LEAVE || + notificationType === NOTIFICATION_TYPE.LEAVE_RESOLVED + ? parsedData.LeaveType || null : null, overtimeId: parsedData.OvertimeId, managerApproveStatus: