continue setup after initial wifi settings

This commit is contained in:
Thomas Ballmann 2021-05-16 16:56:44 +02:00
parent 50c231edcf
commit 8f52706615

View File

@ -47,7 +47,9 @@
const wifiConnected = this.stats.wifi.connected
// only on initial navigation
if (!setupFinished) {
if (wifiConnected && !setupFinished) {
goto = '/setup/weather'
} else if (!setupFinished) {
if (this.$route.path !== '/setup/start') {
goto = '/setup/start'
}