mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
JavaScript is a constant pain.
This commit is contained in:
parent
1d51b94d41
commit
ef3f6cb950
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ export async function serverAddress() {
|
||||||
};
|
};
|
||||||
}));
|
}));
|
||||||
}).then(configs => {
|
}).then(configs => {
|
||||||
let selection = configs.find(obj => !obj.config.StartupWizardCompleted) || configs[0];
|
const selection = configs.find(obj => !obj.config.StartupWizardCompleted) || configs[0];
|
||||||
return Promise.resolve(selection.url);
|
return Promise.resolve(selection.url);
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue