We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97d75bf commit 1e02f9aCopy full SHA for 1e02f9a
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 && !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