aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/search/channel-lazy-load.resolver.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-06-15 15:04:43 +0200
committerChocobozzz <me@florianbigard.com>2020-06-15 15:04:51 +0200
commitc1466c52fb6b7193a5d242bab21f263d4e3ca6d7 (patch)
tree62027ff2942c9adfcf77fc1ad2b4160e4dcb0ada /client/src/app/search/channel-lazy-load.resolver.ts
parentff9c3d9b189a323c1da5fcee6178574481529225 (diff)
downloadPeerTube-c1466c52fb6b7193a5d242bab21f263d4e3ca6d7.tar.gz
PeerTube-c1466c52fb6b7193a5d242bab21f263d4e3ca6d7.tar.zst
PeerTube-c1466c52fb6b7193a5d242bab21f263d4e3ca6d7.zip
Remove unused service
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) {