forked from mystiq/hydrogen-web
More simpler navigation
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
e80667c935
commit
b0db7e0344
1 changed files with 1 additions and 2 deletions
|
@ -54,8 +54,7 @@ export class LoginViewModel extends ViewModel {
|
||||||
get isFetchingLoginOptions() { return this._isFetchingLoginOptions; }
|
get isFetchingLoginOptions() { return this._isFetchingLoginOptions; }
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
const path = this.navigation.pathFrom([this.navigation.segment("session")]);
|
this.navigation.push("session");
|
||||||
this.navigation.applyPath(path);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async _createViewModels(homeserver) {
|
async _createViewModels(homeserver) {
|
||||||
|
|
Loading…
Reference in a new issue