From 6276464e0d3f0a741c926f685c35c5fc5223c749 Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Fri, 31 May 2024 17:57:11 +0200 Subject: [PATCH] Fix refreshgrid behaving like load more (#1853) --- src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx index 06d472d5b..4a78919db 100644 --- a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx +++ b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx @@ -1627,6 +1627,7 @@ export const DocumentsTabComponent: React.FunctionComponent => { // clear documents grid setDocumentIds([]); + setContinuationToken(undefined); // For mongo try { // reset iterator which will autoload documents (in useEffect) setDocumentsIterator({