diff --git a/src/ui_ng/src/app/base/base.module.ts b/src/ui_ng/src/app/base/base.module.ts index 0a623551d..8cfadc71c 100644 --- a/src/ui_ng/src/app/base/base.module.ts +++ b/src/ui_ng/src/app/base/base.module.ts @@ -2,7 +2,6 @@ import { NgModule } from '@angular/core'; import { SharedModule } from '../shared/shared.module'; import { RouterModule } from '@angular/router'; -import { DashboardModule } from '../dashboard/dashboard.module'; import { ProjectModule } from '../project/project.module'; import { UserModule } from '../user/user.module'; import { AccountModule } from '../account/account.module'; @@ -12,11 +11,13 @@ import { GlobalSearchComponent } from './global-search/global-search.component'; import { FooterComponent } from './footer/footer.component'; import { HarborShellComponent } from './harbor-shell/harbor-shell.component'; import { SearchResultComponent } from './global-search/search-result.component'; +import { SearchStartComponent } from './global-search/search-start.component'; + +import { SearchTriggerService } from './global-search/search-trigger.service'; @NgModule({ imports: [ SharedModule, - DashboardModule, ProjectModule, UserModule, AccountModule, @@ -27,9 +28,11 @@ import { SearchResultComponent } from './global-search/search-result.component'; GlobalSearchComponent, FooterComponent, HarborShellComponent, - SearchResultComponent + SearchResultComponent, + SearchStartComponent ], - exports: [ HarborShellComponent ] + exports: [ HarborShellComponent ], + providers: [SearchTriggerService] }) export class BaseModule { diff --git a/src/ui_ng/src/app/base/global-search/global-search.component.html b/src/ui_ng/src/app/base/global-search/global-search.component.html index e895fa79e..ebb4b0802 100644 --- a/src/ui_ng/src/app/base/global-search/global-search.component.html +++ b/src/ui_ng/src/app/base/global-search/global-search.component.html @@ -1,4 +1,4 @@ -