diff --git a/src/components/ui/WizardBoxButtons.svelte b/src/components/ui/WizardBoxButtons.svelte index 2dcddafc..ce7dd35f 100644 --- a/src/components/ui/WizardBoxButtons.svelte +++ b/src/components/ui/WizardBoxButtons.svelte @@ -23,21 +23,21 @@ async function quit() { $uistates_store.wizard_step = 0 if (!$config_store.wizard_passed) - await serialQueue.add(config_store.saveParam("wizard_passed", true)) + await serialQueue.add(() => config_store.saveParam("wizard_passed", true)) if ($status_store.ipaddress == "192.168.4.1") { $uistates_store.alertbox.title = $_("notification") $uistates_store.alertbox.component = AlertBody $uistates_store.alertbox.visible = true $uistates_store.alertbox.button = true $uistates_store.alertbox.closable = false - $uistates_store.alertbox.action = () => { + $uistates_store.alertbox.action = () => { uistates_store.resetAlertBox() setTimeout(() => { reload2ip() }, 6000); } } - else + else window.location.href = "http://" + $status_store.ipaddress } @@ -46,14 +46,14 @@
{#if step > 0} {/if} {#if step < 4} {/if} {#if step == 4} @@ -61,4 +61,4 @@   Quit Wizard   {/if} -
\ No newline at end of file +