Merge pull request #7290 from theguymadmax/library-refresh-fix

Fix library not refreshing after adding new media library
This commit is contained in:
Bill Thornton
2025-11-04 11:09:41 -05:00
committed by GitHub

View File

@@ -29,7 +29,8 @@ export const Component = () => {
const showMediaLibraryCreator = useCallback(() => {
const mediaLibraryCreator = new MediaLibraryCreator({
collectionTypeOptions: getCollectionTypeOptions()
collectionTypeOptions: getCollectionTypeOptions(),
refresh: true
}) as Promise<boolean>;
void mediaLibraryCreator.then((hasChanges: boolean) => {