diff --git a/packages/core/client/src/application/collection/CollectionManager.tsx b/packages/core/client/src/application/collection/CollectionManager.tsx index 75095843fb..9a179be85f 100644 --- a/packages/core/client/src/application/collection/CollectionManager.tsx +++ b/packages/core/client/src/application/collection/CollectionManager.tsx @@ -325,7 +325,7 @@ export class CollectionManagerV2 { this.initDataSourceMap(); data.forEach(({ key, collections, ...others }) => { - this.dataSourceMap[key] = { ...others, name }; + this.dataSourceMap[key] = { ...others, key }; this.setCollections(collections, { dataSource: key }); this.reloadCallbacks[key]?.forEach((cb) => cb(collections)); });