fix errors reported by linter
This commit is contained in:
parent
d4c8d1a334
commit
3b8e4c6330
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ export async function serverAddress() {
|
||||||
responses = responses.filter(response => response && response.ok);
|
responses = responses.filter(response => response && response.ok);
|
||||||
return Promise.all(responses.map(response => response.json()));
|
return Promise.all(responses.map(response => response.json()));
|
||||||
}).then(configs => {
|
}).then(configs => {
|
||||||
const selection = configs.find(config => !config.StartupWizardCompleted)
|
let selection = configs.find(config => !config.StartupWizardCompleted);
|
||||||
if (!selection) selection = configs[0];
|
if (!selection) selection = configs[0];
|
||||||
return Promise.resolve(selection.LocalAddress);
|
return Promise.resolve(selection.LocalAddress);
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue