mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
fix undefined variable, this probably breaks restoring the last url
This commit is contained in:
parent
eb8fdf5c27
commit
1f17edc248
@ -86,7 +86,7 @@ export class URLRouter {
|
||||
tryRestoreLastUrl() {
|
||||
const lastNavPath = this._urlAsNavPath(this._history.getLastUrl() || "");
|
||||
if (lastNavPath.segments.length !== 0) {
|
||||
this._applyNavPathToNavigation(navPath);
|
||||
this._applyNavPathToNavigation(lastNavPath);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user