Bring back Next button
This commit is contained in:
parent
0431aba8b8
commit
db1469479e
@ -290,7 +290,7 @@ const ReviewPage = () => {
|
|||||||
|
|
||||||
const loadCurrentRequest = (requestIndex) => {
|
const loadCurrentRequest = (requestIndex) => {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
fetchAllRequests(filterDateRange, filterSubsidiaries, filterReviewState, filterIncludeTests, requestIndex, 1).then((data) => {
|
fetchAllRequests(filterDateRange, filterSubsidiaries, filterReviewState, filterIncludeTests, requestIndex, 2).then((data) => {
|
||||||
setRequests(data?.subscription_requests);
|
setRequests(data?.subscription_requests);
|
||||||
setHasNextRequest(data?.subscription_requests.length > 1);
|
setHasNextRequest(data?.subscription_requests.length > 1);
|
||||||
setTotalPages(data?.page?.total_requests);
|
setTotalPages(data?.page?.total_requests);
|
||||||
|
Loading…
Reference in New Issue
Block a user