diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-29 16:16:24 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-10 14:02:41 +0200 |
commit | 5fb2e2888ce032c638e4b75d07458642f0833e52 (patch) | |
tree | 8830d873569316889b8134027e9a43b198cca38f /client/src/app/search/search.module.ts | |
parent | 62e7be634bc189f942ae51cb4b080079ab503ff0 (diff) | |
download | PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.tar.gz PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.tar.zst PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.zip |
First implem global search
Diffstat (limited to 'client/src/app/search/search.module.ts')
-rw-r--r-- | client/src/app/search/search.module.ts | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/client/src/app/search/search.module.ts b/client/src/app/search/search.module.ts index 3b0fd6ee2..df5459802 100644 --- a/client/src/app/search/search.module.ts +++ b/client/src/app/search/search.module.ts | |||
@@ -1,10 +1,12 @@ | |||
1 | import { NgModule } from '@angular/core' | ||
2 | import { TagInputModule } from 'ngx-chips' | 1 | import { TagInputModule } from 'ngx-chips' |
3 | import { SharedModule } from '../shared' | 2 | import { NgModule } from '@angular/core' |
3 | import { SearchFiltersComponent } from '@app/search/search-filters.component' | ||
4 | import { SearchRoutingModule } from '@app/search/search-routing.module' | ||
4 | import { SearchComponent } from '@app/search/search.component' | 5 | import { SearchComponent } from '@app/search/search.component' |
5 | import { SearchService } from '@app/search/search.service' | 6 | import { SearchService } from '@app/search/search.service' |
6 | import { SearchRoutingModule } from '@app/search/search-routing.module' | 7 | import { SharedModule } from '../shared' |
7 | import { SearchFiltersComponent } from '@app/search/search-filters.component' | 8 | import { ChannelLazyLoadResolver } from './channel-lazy-load.resolver' |
9 | import { VideoLazyLoadResolver } from './video-lazy-load.resolver' | ||
8 | 10 | ||
9 | @NgModule({ | 11 | @NgModule({ |
10 | imports: [ | 12 | imports: [ |
@@ -25,7 +27,9 @@ import { SearchFiltersComponent } from '@app/search/search-filters.component' | |||
25 | ], | 27 | ], |
26 | 28 | ||
27 | providers: [ | 29 | providers: [ |
28 | SearchService | 30 | SearchService, |
31 | VideoLazyLoadResolver, | ||
32 | ChannelLazyLoadResolver | ||
29 | ] | 33 | ] |
30 | }) | 34 | }) |
31 | export class SearchModule { } | 35 | export class SearchModule { } |