mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +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) {
|
async login(username, password, homeserver) {
|
||||||
this._loadViewModelSubscription = this.disposeTracked(this._loadViewModelSubscription);
|
this._loadViewModelSubscription = this.disposeTracked(this._loadViewModelSubscription);
|
||||||
if (this._loadViewModel) {
|
if (this._loadViewModel) {
|
||||||
this._loadViewModel.cancel();
|
this._loadViewModel = this.disposeTracked(this._loadViewModel);
|
||||||
}
|
}
|
||||||
this._loadViewModel = this.track(new SessionLoadViewModel({
|
this._loadViewModel = this.track(new SessionLoadViewModel({
|
||||||
createAndStartSessionContainer: () => {
|
createAndStartSessionContainer: () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user