Fix idUlp type in filterData function

This commit is contained in:
Eko Haryadi
2024-02-23 17:07:59 +07:00
parent 29fff0c8a4
commit 81d77fc101
21 changed files with 213 additions and 202 deletions

View File

@@ -177,7 +177,7 @@ const filterData = (params: any) => {
refetch({
dateFrom: dateValue[0] ? dateValue[0].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
dateTo: dateValue[1] ? dateValue[1].split('-').reverse().join('-') : new Date().toISOString().slice(0, 10),
idUlp: idUlp ? idUlp.id : "",
idUlp: idUlp ? idUlp.id : 0,
idUid: uid ? uid.id : 0,
idUp3: up3 ? up3.id : 0
})