fix undefined variable, this probably breaks restoring the last url
This commit is contained in:
parent
eb8fdf5c27
commit
1f17edc248
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue