feat(collection): support source folder and selector in collections

This commit is contained in:
yiling
2026-05-25 20:26:03 +08:00
parent 00dc7f7bda
commit 5037b27d81
10 changed files with 238 additions and 131 deletions
@@ -79,12 +79,14 @@ function CollectionPage() {
return <div>Loading collection...</div>
}
const sourceFolderId = collection.filter.sourceFolderId || rootFolderId
return (
<FileSystemManager
teamId={teamId}
projectId={projectId}
projectName={projectInfo.name ?? ''}
assetId={rootFolderId}
assetId={sourceFolderId}
rootFolderId={rootFolderId}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
collection={collection as any}