diff --git a/nativescript-angular/router/page-router-outlet.ts b/nativescript-angular/router/page-router-outlet.ts index 87937873..76456fe1 100644 --- a/nativescript-angular/router/page-router-outlet.ts +++ b/nativescript-angular/router/page-router-outlet.ts @@ -329,7 +329,9 @@ export class PageRouterOutlet implements OnDestroy { const clearCallback = () => setTimeout(() => { if (this.outlet) { - this.routeReuseStrategy.clearCache(this.outlet.outletKeys[0]); + this.outlet.outletKeys.forEach((outletKey) => { + this.routeReuseStrategy.clearCache(outletKey); + }); } });