diff options
Diffstat (limited to 'client/src/app/search/search.component.ts')
-rw-r--r-- | client/src/app/search/search.component.ts | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/client/src/app/search/search.component.ts b/client/src/app/search/search.component.ts index 6486085be..83b06e0ce 100644 --- a/client/src/app/search/search.component.ts +++ b/client/src/app/search/search.component.ts | |||
@@ -1,20 +1,15 @@ | |||
1 | import { forkJoin, of, Subscription } from 'rxjs' | 1 | import { forkJoin, of, Subscription } from 'rxjs' |
2 | import { Component, OnDestroy, OnInit } from '@angular/core' | 2 | import { Component, OnDestroy, OnInit } from '@angular/core' |
3 | import { ActivatedRoute, Router } from '@angular/router' | 3 | import { ActivatedRoute, Router } from '@angular/router' |
4 | import { AuthService, Notifier, ServerService } from '@app/core' | 4 | import { AuthService, ComponentPagination, HooksService, Notifier, ServerService, User, UserService } from '@app/core' |
5 | import { HooksService } from '@app/core/plugins/hooks.service' | 5 | import { immutableAssign } from '@app/helpers' |
6 | import { AdvancedSearch } from '@app/search/advanced-search.model' | 6 | import { Video, VideoChannel } from '@app/shared/shared-main' |
7 | import { SearchService } from '@app/search/search.service' | 7 | import { MiniatureDisplayOptions } from '@app/shared/shared-video-miniature' |
8 | import { User, UserService } from '@app/shared' | ||
9 | import { immutableAssign } from '@app/shared/misc/utils' | ||
10 | import { ComponentPagination } from '@app/shared/rest/component-pagination.model' | ||
11 | import { VideoChannel } from '@app/shared/video-channel/video-channel.model' | ||
12 | import { MiniatureDisplayOptions } from '@app/shared/video/video-miniature.component' | ||
13 | import { Video } from '@app/shared/video/video.model' | ||
14 | import { MetaService } from '@ngx-meta/core' | 8 | import { MetaService } from '@ngx-meta/core' |
15 | import { I18n } from '@ngx-translate/i18n-polyfill' | 9 | import { I18n } from '@ngx-translate/i18n-polyfill' |
16 | import { ServerConfig } from '@shared/models' | 10 | import { SearchTargetType, ServerConfig } from '@shared/models' |
17 | import { SearchTargetType } from '@shared/models/search/search-target-query.model' | 11 | import { AdvancedSearch } from './advanced-search.model' |
12 | import { SearchService } from './search.service' | ||
18 | 13 | ||
19 | @Component({ | 14 | @Component({ |
20 | selector: 'my-search', | 15 | selector: 'my-search', |