Skip to content

Commit

Permalink
refactor: removes SearchModule dependency (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelez committed Sep 7, 2021
1 parent 854aff2 commit 269be23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/app/app.component.spec.ts
Expand Up @@ -6,7 +6,7 @@ import { MatMenuModule } from '@angular/material/menu';
import { MatToolbarModule } from '@angular/material/toolbar';
import { RouterTestingModule } from '@angular/router/testing';
import { KnoraApiConnection } from '@dasch-swiss/dsp-js';
import { AppInitService, DspActionModule, DspSearchModule } from '@dasch-swiss/dsp-ui';
import { AppInitService, DspActionModule } from '@dasch-swiss/dsp-ui';
import { TranslateModule } from '@ngx-translate/core';
import { TestConfig } from 'test.config';
import { AppComponent } from './app.component';
Expand All @@ -32,7 +32,6 @@ describe('AppComponent', () => {
MatMenuModule,
MatToolbarModule,
DspActionModule,
DspSearchModule,
RouterTestingModule,
TranslateModule.forRoot()
],
Expand Down
3 changes: 1 addition & 2 deletions src/app/app.module.ts
Expand Up @@ -7,7 +7,7 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { KnoraApiConnection } from '@dasch-swiss/dsp-js';
import { DspActionModule, DspSearchModule, DspViewerModule } from '@dasch-swiss/dsp-ui';
import { DspActionModule, DspViewerModule } from '@dasch-swiss/dsp-ui';
import { TranslateLoader, TranslateModule } from '@ngx-translate/core';
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
import { AngularSplitModule } from 'angular-split';
Expand Down Expand Up @@ -320,7 +320,6 @@ export function httpLoaderFactory(httpClient: HttpClient) {
ColorPickerModule,
CommonModule,
DspActionModule,
DspSearchModule,
DspViewerModule,
FormsModule,
HttpClientModule,
Expand Down
3 changes: 1 addition & 2 deletions src/app/main/header/header.component.spec.ts
Expand Up @@ -9,7 +9,7 @@ import { By } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
import { KnoraApiConnection } from '@dasch-swiss/dsp-js';
import { DspActionModule, DspSearchModule } from '@dasch-swiss/dsp-ui';
import { DspActionModule } from '@dasch-swiss/dsp-ui';
import { TranslateModule } from '@ngx-translate/core';
import { AppInitService } from 'src/app/app-init.service';
import { ComponentCommunicationEventService, EmitEvent, Events } from 'src/app/main/services/component-communication-event.service';
Expand Down Expand Up @@ -65,7 +65,6 @@ describe('HeaderComponent', () => {
BrowserAnimationsModule,
HttpClientModule,
DspActionModule,
DspSearchModule,
MatIconModule,
MatListModule,
MatMenuModule,
Expand Down

0 comments on commit 269be23

Please sign in to comment.