mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 06:53:03 +00:00
fix issue with themed ConfigurationSearchPageComponent
This commit is contained in:
@@ -1,11 +1,23 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
||||||
import { SearchPageComponent as BaseComponent } from '../../../../app/+search-page/search-page.component';
|
import { pushInOut } from '../../../../app/shared/animations/push';
|
||||||
|
import { SEARCH_CONFIG_SERVICE } from '../../../../app/+my-dspace-page/my-dspace-page.component';
|
||||||
|
import { SearchConfigurationService } from '../../../../app/core/shared/search/search-configuration.service';
|
||||||
|
import { ConfigurationSearchPageComponent as BaseComponent } from '../../../../app/+search-page/configuration-search-page.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-configuration-search-page',
|
selector: 'ds-configuration-search-page',
|
||||||
// styleUrls: ['./configuration-search-page.component.html'],
|
// styleUrls: ['./configuration-search-page.component.scss'],
|
||||||
|
styleUrls: ['../../../../app/+search-page/search.component.scss'],
|
||||||
// templateUrl: './configuration-search-page.component.html'
|
// templateUrl: './configuration-search-page.component.html'
|
||||||
templateUrl: '../../../../app/+search-page/search.component.html'
|
templateUrl: '../../../../app/+search-page/search.component.html',
|
||||||
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
|
animations: [pushInOut],
|
||||||
|
providers: [
|
||||||
|
{
|
||||||
|
provide: SEARCH_CONFIG_SERVICE,
|
||||||
|
useClass: SearchConfigurationService
|
||||||
|
}
|
||||||
|
]
|
||||||
})
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user