Refactor code: Update posko value based on condition, remove console.log, and add setMonth function
This commit is contained in:
@@ -1012,7 +1012,6 @@ const filterData = (params: any) => {
|
||||
onResult((queryResult) => {
|
||||
if (queryResult.data != undefined) {
|
||||
const result: any[] = [...queryResult.data.rekapitulasiGangguanPerPosko]
|
||||
console.table(result)
|
||||
data.value = result.sort((a: any, b: any) => a?.nama_up3.localeCompare(b?.nama_up3))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user