Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: page navigation bug if there's not outlet for frame after cleari…
…ng history
  • Loading branch information
bellalMohamed committed Aug 25, 2020
commit 0eee94bbedf849f3a113d5d8d4f2e9ca80ce4d5d
2 changes: 1 addition & 1 deletion nativescript-angular/router/ns-location-strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export class NSLocationStrategy extends LocationStrategy {
NativeScriptDebug.routerLog('NSLocationStrategy._beginPageNavigation()');
}

this.currentOutlet = this.getOutletByFrame(frame);
this.currentOutlet = this.getOutletByFrame(frame) || this.currentOutlet;
const lastState = this.currentOutlet.peekState();

if (lastState) {
Expand Down