mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +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; }
|
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 New Issue
Block a user