Backport pull request #7290 from jellyfin-web/release-10.11.z

Fix library not refreshing after adding new media library

Original-merge: 21d7dd86ea68077efe1b2efcf3246958e8ee76d8

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
This commit is contained in:
theguymadmax
2025-11-17 11:14:07 -05:00
committed by thornbill
parent e64e1f6535
commit bf8b002142
@@ -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) => {