Skip to content

Commit 3510fc2

Browse files
committed
Update ApiCall.jsx
1 parent 5c84a91 commit 3510fc2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/api/ApiCall.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,11 @@ export function ApiGetCallWithPagination({
190190
return response.data;
191191
},
192192
getNextPageParam: (lastPage) => {
193-
if (data?.noPagination || data?.manualPagination === false) {
193+
if (
194+
data?.noPagination ||
195+
data?.manualPagination === false ||
196+
data?.tenantFilter === "AllTenants"
197+
) {
194198
return undefined;
195199
}
196200
return lastPage?.Metadata?.nextLink ? { nextLink: lastPage.Metadata.nextLink } : undefined;

0 commit comments

Comments
 (0)