mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Add missing provider to custom ds-search-page
This commit is contained in:
@@ -1,11 +1,19 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { SearchPageComponent as BaseComponent } from '../../../../app/search-page/search-page.component';
|
||||
import { SEARCH_CONFIG_SERVICE } from '../../../../app/my-dspace-page/my-dspace-page.component';
|
||||
import { SearchConfigurationService } from '../../../../app/core/shared/search/search-configuration.service';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-search-page',
|
||||
// styleUrls: ['./search-page.component.scss'],
|
||||
// templateUrl: './search-page.component.html'
|
||||
templateUrl: '../../../../app/search-page/search-page.component.html'
|
||||
templateUrl: '../../../../app/search-page/search-page.component.html',
|
||||
providers: [
|
||||
{
|
||||
provide: SEARCH_CONFIG_SERVICE,
|
||||
useClass: SearchConfigurationService
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user