forked from MapComplete/MapComplete
Merge develop
This commit is contained in:
commit
4fdae55c97
206 changed files with 8760 additions and 3718 deletions
|
|
@ -610,8 +610,10 @@ export class OsmConnection {
|
|||
if (!(this.apiIsOnline.data === "unreachable" || this.apiIsOnline.data === "offline")) {
|
||||
return
|
||||
}
|
||||
if (!this.isLoggedIn.data) {
|
||||
return
|
||||
}
|
||||
try {
|
||||
console.log("Api is offline - trying to reconnect...")
|
||||
this.AttemptLogin()
|
||||
} catch (e) {
|
||||
console.log("Could not login due to", e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue