From 0fa44f4b74cfe96970c583f6c261ed98e6d62dcd Mon Sep 17 00:00:00 2001 From: Giuseppe Digilio Date: Tue, 19 Apr 2022 18:37:14 +0200 Subject: [PATCH] [CST-5733] Apply changes in order to not destroy router-outlet on loading --- src/app/app.component.ts | 1 - src/app/root/root.component.html | 11 +++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 669411d9aa..db217ce161 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -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; diff --git a/src/app/root/root.component.html b/src/app/root/root.component.html index c8b43796cb..d187782094 100644 --- a/src/app/root/root.component.html +++ b/src/app/root/root.component.html @@ -1,4 +1,4 @@ -
+
- -
- -
-
+ +
+ +