diff options
-rw-r--r-- | client/src/app/search/channel-lazy-load.resolver.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/src/app/search/channel-lazy-load.resolver.ts b/client/src/app/search/channel-lazy-load.resolver.ts index 8be089cdd..5b6961e98 100644 --- a/client/src/app/search/channel-lazy-load.resolver.ts +++ b/client/src/app/search/channel-lazy-load.resolver.ts | |||
@@ -2,14 +2,12 @@ import { map } from 'rxjs/operators' | |||
2 | import { Injectable } from '@angular/core' | 2 | import { Injectable } from '@angular/core' |
3 | import { ActivatedRouteSnapshot, Resolve, Router } from '@angular/router' | 3 | import { ActivatedRouteSnapshot, Resolve, Router } from '@angular/router' |
4 | import { SearchService } from './search.service' | 4 | import { SearchService } from './search.service' |
5 | import { RedirectService } from '@app/core' | ||
6 | 5 | ||
7 | @Injectable() | 6 | @Injectable() |
8 | export class ChannelLazyLoadResolver implements Resolve<any> { | 7 | export class ChannelLazyLoadResolver implements Resolve<any> { |
9 | constructor ( | 8 | constructor ( |
10 | private router: Router, | 9 | private router: Router, |
11 | private searchService: SearchService, | 10 | private searchService: SearchService |
12 | private redirectService: RedirectService | ||
13 | ) { } | 11 | ) { } |
14 | 12 | ||
15 | resolve (route: ActivatedRouteSnapshot) { | 13 | resolve (route: ActivatedRouteSnapshot) { |