aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/search/channel-lazy-load.resolver.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/search/channel-lazy-load.resolver.ts')
-rw-r--r--client/src/app/search/channel-lazy-load.resolver.ts4
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'
2import { Injectable } from '@angular/core' 2import { Injectable } from '@angular/core'
3import { ActivatedRouteSnapshot, Resolve, Router } from '@angular/router' 3import { ActivatedRouteSnapshot, Resolve, Router } from '@angular/router'
4import { SearchService } from './search.service' 4import { SearchService } from './search.service'
5import { RedirectService } from '@app/core'
6 5
7@Injectable() 6@Injectable()
8export class ChannelLazyLoadResolver implements Resolve<any> { 7export 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) {