We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
NativeScript
Learn more about funding links in repositories.
Report abuse
1 parent 94c534c commit f8c7468Copy full SHA for f8c7468
nativescript-angular/router/page-router-outlet.ts
@@ -203,7 +203,7 @@ export class PageRouterOutlet implements OnDestroy { // tslint:disable-line:dire
203
}
204
205
deactivate(): void {
206
- if (!this.outlet.isPageNavigationBack) {
+ if (!this.outlet || !this.outlet.isPageNavigationBack) {
207
if (isLogEnabled()) {
208
log("Currently not in page back navigation - component should be detached instead of deactivated.");
209
0 commit comments