Lint components

pull/2473/head
Chocobozzz 2020-02-10 15:14:40 +01:00 committed by Chocobozzz
parent 25f659632b
commit 3fa9efa0c7
2 changed files with 4 additions and 4 deletions

View File

@ -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' ]
}
}

View File

@ -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 {