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 => {
|
||||
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);
|
||||
}).catch(error => {
|
||||
console.log(error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue