diff --git a/src/controllers/dashboard/networking.js b/src/controllers/dashboard/networking.js index fe9df2a4a4..367ab8335c 100644 --- a/src/controllers/dashboard/networking.js +++ b/src/controllers/dashboard/networking.js @@ -141,7 +141,7 @@ import 'emby-select'; }); view.querySelector('#btnSelectCertPath').addEventListener('click', function () { import('directorybrowser').then(({default: directoryBrowser}) => { - const picker = new directoryBrowser.default(); + const picker = new directoryBrowser(); picker.show({ includeFiles: true, includeDirectories: true,