Merge pull request #82 from SDSRV-IDP/feature/inference-ui

Bring back Next button
This commit is contained in:
Đỗ Xuân Tân 2024-03-12 13:12:34 +07:00 committed by GitHub Enterprise
commit 43cfb1e898

View File

@ -290,7 +290,7 @@ const ReviewPage = () => {
const loadCurrentRequest = (requestIndex) => {
setLoading(true);
fetchAllRequests(filterDateRange, filterSubsidiaries, filterReviewState, filterIncludeTests, requestIndex, 1).then((data) => {
fetchAllRequests(filterDateRange, filterSubsidiaries, filterReviewState, filterIncludeTests, requestIndex, 2).then((data) => {
setRequests(data?.subscription_requests);
setHasNextRequest(data?.subscription_requests.length > 1);
setTotalPages(data?.page?.total_requests);