Merge pull request #38 from KasperskyLab/dev

Correct infinite loop if no internet
This commit is contained in:
Félix Aimé 2021-01-25 13:32:32 +01:00 committed by GitHub
commit 07811a6ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)))
}, },