Lint components
This commit is contained in:
parent
25f659632b
commit
3fa9efa0c7
|
@ -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' ]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue