FIX: close the coWebSite on network error

This commit is contained in:
kharhamel 2020-11-09 11:16:54 +01:00
parent b817d5e126
commit 760708948f

View file

@ -57,7 +57,7 @@ class CoWebsiteManager {
setTimeout(() => { setTimeout(() => {
this.fire(); this.fire();
}, animationTime) }, animationTime)
}); }).catch(() => this.closeCoWebsite());
} }
/** /**
@ -70,7 +70,7 @@ class CoWebsiteManager {
setTimeout(() => { setTimeout(() => {
this.fire(); this.fire();
}, animationTime) }, animationTime)
}); }).catch(() => this.closeCoWebsite());
} }
public closeCoWebsite(): Promise<void> { public closeCoWebsite(): Promise<void> {