Update LeaveManagement.tsx

This commit is contained in:
Truong Vo 2024-08-06 16:13:45 +07:00
parent 7ed053363c
commit b89bb2da88
1 changed files with 4 additions and 3 deletions

View File

@ -278,9 +278,10 @@ const LeaveManagement = () => {
onClick={() => {
setDisableBtn(true)
if (
customAddNotes.id === 0 ||
customAddNotes.totalLeave === '' ||
customAddNotes.totalLeave === '0'
customAddNotes.id === 0
// ||
// customAddNotes.totalLeave === '' ||
// customAddNotes.totalLeave === '0'
// customAddNotes.dayAdditional === 0 ||
// customAddNotes.note === ''
) {