Fix library not refreshing after adding new media library

This commit is contained in:
theguymadmax
2025-11-02 22:57:34 -05:00
parent 933e1b255b
commit 993d370582

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) => {