mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
[CST-5733] Apply changes in order to not destroy router-outlet on loading
This commit is contained in:
@@ -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;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<div class="outer-wrapper" *ngIf="!shouldShowFullscreenLoader; else fullScreenLoader">
|
||||
<div class="outer-wrapper" [class.d-none]="shouldShowFullscreenLoader">
|
||||
<ds-themed-admin-sidebar></ds-themed-admin-sidebar>
|
||||
<div class="inner-wrapper" [@slideSidebarPadding]="{
|
||||
value: (!(sidebarVisible | async) ? 'hidden' : (slideSidebarOver | async) ? 'shown' : 'expanded'),
|
||||
@@ -22,8 +22,7 @@
|
||||
|
||||
<ds-notifications-board [options]="notificationOptions">
|
||||
</ds-notifications-board>
|
||||
<ng-template #fullScreenLoader>
|
||||
<div class="ds-full-screen-loader">
|
||||
<ds-loading [showMessage]="false"></ds-loading>
|
||||
</div>
|
||||
</ng-template>
|
||||
|
||||
<div class="ds-full-screen-loader" *ngIf="shouldShowFullscreenLoader">
|
||||
<ds-loading [showMessage]="false"></ds-loading>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user