diff options
Diffstat (limited to 'client/src/app/header')
-rw-r--r-- | client/src/app/header/search-typeahead.component.ts | 7 | ||||
-rw-r--r-- | client/src/app/header/suggestion.component.ts | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/client/src/app/header/search-typeahead.component.ts b/client/src/app/header/search-typeahead.component.ts index 7d04e0f6d..c546628ee 100644 --- a/client/src/app/header/search-typeahead.component.ts +++ b/client/src/app/header/search-typeahead.component.ts | |||
@@ -1,11 +1,10 @@ | |||
1 | import { of } from 'rxjs' | 1 | import { of } from 'rxjs' |
2 | import { first, tap, delay } from 'rxjs/operators' | 2 | import { first, tap } from 'rxjs/operators' |
3 | import { ListKeyManager } from '@angular/cdk/a11y' | 3 | import { ListKeyManager } from '@angular/cdk/a11y' |
4 | import { AfterViewInit, Component, ElementRef, OnDestroy, OnInit, QueryList, ViewChild, ViewChildren, AfterViewChecked } from '@angular/core' | 4 | import { AfterViewChecked, AfterViewInit, Component, OnDestroy, OnInit, QueryList, ViewChildren } from '@angular/core' |
5 | import { ActivatedRoute, Params, Router } from '@angular/router' | 5 | import { ActivatedRoute, Params, Router } from '@angular/router' |
6 | import { AuthService, ServerService } from '@app/core' | 6 | import { AuthService, ServerService } from '@app/core' |
7 | import { ServerConfig } from '@shared/models' | 7 | import { SearchTargetType, ServerConfig } from '@shared/models' |
8 | import { SearchTargetType } from '@shared/models/search/search-target-query.model' | ||
9 | import { SuggestionComponent, SuggestionPayload, SuggestionPayloadType } from './suggestion.component' | 8 | import { SuggestionComponent, SuggestionPayload, SuggestionPayloadType } from './suggestion.component' |
10 | 9 | ||
11 | @Component({ | 10 | @Component({ |
diff --git a/client/src/app/header/suggestion.component.ts b/client/src/app/header/suggestion.component.ts index 250a5411e..c874212a5 100644 --- a/client/src/app/header/suggestion.component.ts +++ b/client/src/app/header/suggestion.component.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Input, Component, Output, EventEmitter, OnInit, ChangeDetectionStrategy, OnChanges } from '@angular/core' | ||
2 | import { RouterLink } from '@angular/router' | ||
3 | import { ListKeyManagerOption } from '@angular/cdk/a11y' | 1 | import { ListKeyManagerOption } from '@angular/cdk/a11y' |
2 | import { Component, Input, OnInit } from '@angular/core' | ||
3 | import { RouterLink } from '@angular/router' | ||
4 | 4 | ||
5 | export type SuggestionPayload = { | 5 | export type SuggestionPayload = { |
6 | text: string | 6 | text: string |