From 3b8e4c6330e685b884073f7f17f3aef173be66ac Mon Sep 17 00:00:00 2001 From: dkanada Date: Sat, 7 Nov 2020 16:10:02 +0900 Subject: [PATCH] fix errors reported by linter --- src/scripts/clientUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/clientUtils.js b/src/scripts/clientUtils.js index e9659346c7..477632680e 100644 --- a/src/scripts/clientUtils.js +++ b/src/scripts/clientUtils.js @@ -37,7 +37,7 @@ export async function serverAddress() { responses = responses.filter(response => response && response.ok); return Promise.all(responses.map(response => response.json())); }).then(configs => { - const selection = configs.find(config => !config.StartupWizardCompleted) + let selection = configs.find(config => !config.StartupWizardCompleted); if (!selection) selection = configs[0]; return Promise.resolve(selection.LocalAddress); }).catch(error => {