mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
More simpler navigation
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
e80667c935
commit
b0db7e0344
@ -54,8 +54,7 @@ export class LoginViewModel extends ViewModel {
|
||||
get isFetchingLoginOptions() { return this._isFetchingLoginOptions; }
|
||||
|
||||
goBack() {
|
||||
const path = this.navigation.pathFrom([this.navigation.segment("session")]);
|
||||
this.navigation.applyPath(path);
|
||||
this.navigation.push("session");
|
||||
}
|
||||
|
||||
async _createViewModels(homeserver) {
|
||||
|
Loading…
Reference in New Issue
Block a user