From 3fa9efa0c72af60258a6b440de08f267b07f9339 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 10 Feb 2020 15:14:40 +0100 Subject: Lint components --- client/src/app/core/routing/custom-reuse-strategy.ts | 4 ++-- client/src/app/core/routing/preload-selected-modules-list.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'client/src') 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 { -- cgit v1.2.3