[CST-5733] Apply changes in order to not destroy router-outlet on loading

This commit is contained in:
Giuseppe Digilio
2022-04-19 18:37:14 +02:00
parent 404886e247
commit 0fa44f4b74
2 changed files with 5 additions and 7 deletions

View File

@@ -201,7 +201,6 @@ export class AppComponent implements OnInit, AfterViewInit {
if (event instanceof NavigationStart) {
resolveEndFound = false;
this.isRouteLoading$.next(true);
this.isThemeLoading$.next(true);
} else if (event instanceof ResolveEnd) {
resolveEndFound = true;
const activatedRouteSnapShot: ActivatedRouteSnapshot = event.state.root;