mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 14:33:03 +00:00
fix issue with themed ConfigurationSearchPageComponent
This commit is contained in:
@@ -1,11 +1,23 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { SearchPageComponent as BaseComponent } from '../../../../app/+search-page/search-page.component';
|
||||
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
||||
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({
|
||||
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: '../../../../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