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:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user