diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-15 15:04:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-06-15 15:04:51 +0200 |
commit | c1466c52fb6b7193a5d242bab21f263d4e3ca6d7 (patch) | |
tree | 62027ff2942c9adfcf77fc1ad2b4160e4dcb0ada /client/src/app/search/channel-lazy-load.resolver.ts | |
parent | ff9c3d9b189a323c1da5fcee6178574481529225 (diff) | |
download | PeerTube-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.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) { |