Correct infinite loop if no internet

This commit is contained in:
Félix Aime 2021-01-25 13:14:04 +01:00
parent ce6e2ce339
commit 4219a1df25

View File

@ -26,8 +26,8 @@
.then(response => { .then(response => {
if (response.data.internet){ if (response.data.internet){
this.internet = true this.internet = true
this.load_config()
} }
this.load_config()
}) })
.catch(err => (console.log(err))) .catch(err => (console.log(err)))
}, },