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
|
@ -212,8 +212,8 @@ export default function (view, params) {
|
|||
});
|
||||
});
|
||||
view.querySelector('.btnSelectPath').addEventListener('click', function () {
|
||||
import('../components/directorybrowser/directorybrowser').then(({default: directorybrowser}) => {
|
||||
const picker = new directorybrowser();
|
||||
import('../components/directorybrowser/directorybrowser').then((Module) => {
|
||||
const picker = new Module.DirectoryBrowser();
|
||||
picker.show({
|
||||
includeFiles: true,
|
||||
callback: function (path) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue