mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
fix #152
This commit is contained in:
parent
b27f6a067f
commit
9f453c0984
@ -44,7 +44,7 @@ export class LoginViewModel extends ViewModel {
|
||||
async login(username, password, homeserver) {
|
||||
this._loadViewModelSubscription = this.disposeTracked(this._loadViewModelSubscription);
|
||||
if (this._loadViewModel) {
|
||||
this._loadViewModel.cancel();
|
||||
this._loadViewModel = this.disposeTracked(this._loadViewModel);
|
||||
}
|
||||
this._loadViewModel = this.track(new SessionLoadViewModel({
|
||||
createAndStartSessionContainer: () => {
|
||||
|
Loading…
Reference in New Issue
Block a user