Yvonne Priscilla commited on
Commit
f59d2a5
·
1 Parent(s): bb909a5

update for fix implement agentic

Browse files
src/components/dashboard/candidates-table.tsx CHANGED
@@ -1330,6 +1330,7 @@ export default function CandidateTable() {
1330
  key,
1331
  direction: prev.key === key && prev.direction === "asc" ? "desc" : "asc",
1332
  }))
 
1333
  }, [])
1334
 
1335
  const handleSelectAll = useCallback((checked: boolean) => {
 
1330
  key,
1331
  direction: prev.key === key && prev.direction === "asc" ? "desc" : "asc",
1332
  }))
1333
+ setCurrentPage(1)
1334
  }, [])
1335
 
1336
  const handleSelectAll = useCallback((checked: boolean) => {
src/lib/scoring-service.ts CHANGED
@@ -57,5 +57,5 @@ export async function createAndCalculateScore(
57
  filters,
58
  weights
59
  })
60
- return { criteriaId: res.criteria_id }
61
  }
 
57
  filters,
58
  weights
59
  })
60
+ return { criteriaId: res.data.criteria_id }
61
  }