diff --git a/client/src/app/core/routing/custom-reuse-strategy.ts b/client/src/app/core/routing/custom-reuse-strategy.ts index cbba82f1f..c0f9f04e0 100644 --- a/client/src/app/core/routing/custom-reuse-strategy.ts +++ b/client/src/app/core/routing/custom-reuse-strategy.ts @@ -1,5 +1,5 @@ import { ActivatedRouteSnapshot, DetachedRouteHandle, RouteReuseStrategy } from '@angular/router' -import { Injectable } from "@angular/core"; +import { Injectable } from '@angular/core' @Injectable() export class CustomReuseStrategy implements RouteReuseStrategy { @@ -78,6 +78,6 @@ export class CustomReuseStrategy implements RouteReuseStrategy { } private isReuseEnabled (route: ActivatedRouteSnapshot) { - return route.data.reuse && route.data.reuse.enabled && route.queryParams['a-state'] + return route.data.reuse && route.data.reuse.enabled && route.queryParams[ 'a-state' ] } } diff --git a/client/src/app/core/routing/preload-selected-modules-list.ts b/client/src/app/core/routing/preload-selected-modules-list.ts index aa1c76516..64af68225 100644 --- a/client/src/app/core/routing/preload-selected-modules-list.ts +++ b/client/src/app/core/routing/preload-selected-modules-list.ts @@ -1,7 +1,7 @@ -import { Observable, timer as observableTimer, of as ofObservable } from 'rxjs' +import { Observable, of as ofObservable, timer as observableTimer } from 'rxjs' import { switchMap } from 'rxjs/operators' import { PreloadingStrategy, Route } from '@angular/router' -import { Injectable } from "@angular/core"; +import { Injectable } from '@angular/core' @Injectable() export class PreloadSelectedModulesList implements PreloadingStrategy {