mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
parent
6fc86211c6
commit
5a5bb04559
1 changed files with 2 additions and 2 deletions
|
@ -223,9 +223,9 @@ define(['loading', 'dialogHelper', 'dom', 'listViewStyle', 'emby-input', 'paper-
|
||||||
|
|
||||||
function getDefaultPath(options) {
|
function getDefaultPath(options) {
|
||||||
if (options.path) {
|
if (options.path) {
|
||||||
Promise.resolve(options.path);
|
return Promise.resolve(options.path);
|
||||||
} else {
|
} else {
|
||||||
ApiClient.getJSON(ApiClient.getUrl("Environment/DefaultDirectoryBrowser")).then(
|
return ApiClient.getJSON(ApiClient.getUrl("Environment/DefaultDirectoryBrowser")).then(
|
||||||
function(result) {
|
function(result) {
|
||||||
return result.Path || "";
|
return result.Path || "";
|
||||||
}, function() {
|
}, function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue