add: export info & remove unused component (#6547)

* add: export info

* changes
This commit is contained in:
naman-bruno
2025-12-30 23:06:57 +05:30
committed by GitHub
parent 8fa8ae5fed
commit 27dff7567c
10 changed files with 81 additions and 53 deletions

View File

@@ -57,8 +57,8 @@ const WorkspaceOverview = ({ workspace }) => {
setImportCollectionLocationModalOpen(true);
};
const handleImportCollectionLocation = (convertedCollection, collectionLocation) => {
dispatch(importCollection(convertedCollection, collectionLocation))
const handleImportCollectionLocation = (convertedCollection, collectionLocation, options = {}) => {
dispatch(importCollection(convertedCollection, collectionLocation, options))
.then(() => {
setImportCollectionLocationModalOpen(false);
setImportData(null);