mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Refactor DirectoryBrowser class
This commit is contained in:
parent
005ed2876d
commit
1bec6a8088
10 changed files with 91 additions and 91 deletions
|
@ -162,8 +162,8 @@ import template from './mediaLibraryEditor.template.html';
|
|||
}
|
||||
|
||||
function showDirectoryBrowser(context, originalPath, networkPath) {
|
||||
import('../directorybrowser/directorybrowser').then(({default: directoryBrowser}) => {
|
||||
const picker = new directoryBrowser();
|
||||
import('../directorybrowser/directorybrowser').then((Module) => {
|
||||
const picker = new Module.DirectoryBrowser();
|
||||
picker.show({
|
||||
enableNetworkSharePath: true,
|
||||
pathReadOnly: originalPath != null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue