1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update suggestion change

This commit is contained in:
grafixeyehero 2021-09-08 02:46:43 +03:00
parent 8e724d3119
commit d6c00aa6f4
12 changed files with 32 additions and 32 deletions

View file

@ -162,8 +162,8 @@ import template from './mediaLibraryEditor.template.html';
}
function showDirectoryBrowser(context, originalPath, networkPath) {
import('../directorybrowser/directorybrowser').then((Module) => {
const picker = new Module.DirectoryBrowser();
import('../directorybrowser/directorybrowser').then(({default: DirectoryBrowser}) => {
const picker = new DirectoryBrowser();
picker.show({
enableNetworkSharePath: true,
pathReadOnly: originalPath != null,