diff --git a/client/src/pages/databases/collections/data/CollectionData.tsx b/client/src/pages/databases/collections/data/CollectionData.tsx index 9504580e..5ad8142e 100644 --- a/client/src/pages/databases/collections/data/CollectionData.tsx +++ b/client/src/pages/databases/collections/data/CollectionData.tsx @@ -353,6 +353,11 @@ const CollectionData = (props: CollectionDataProps) => { } }, []); + useEffect(() => { + // reset selection + setSelectedData([]); + }, [collection.collection_name]); + return (