Update LeaveManagement.tsx
This commit is contained in:
parent
7ed053363c
commit
b89bb2da88
|
|
@ -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 === ''
|
||||
) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue