mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-13 21:13:07 +00:00
27 lines
925 B
TypeScript
27 lines
925 B
TypeScript
import { Component } from '@angular/core';
|
|
import { ThemedComponent } from '../shared/theme-support/themed.component';
|
|
import { PageInternalServerErrorComponent } from './page-internal-server-error.component';
|
|
|
|
/**
|
|
* Themed wrapper for PageInternalServerErrorComponent
|
|
*/
|
|
@Component({
|
|
selector: 'ds-themed-search-page',
|
|
styleUrls: [],
|
|
templateUrl: '../shared/theme-support/themed.component.html',
|
|
})
|
|
export class ThemedPageInternalServerErrorComponent extends ThemedComponent<PageInternalServerErrorComponent> {
|
|
|
|
protected getComponentName(): string {
|
|
return 'PageInternalServerErrorComponent';
|
|
}
|
|
|
|
protected importThemedComponent(themeName: string): Promise<any> {
|
|
return import(`../../themes/${themeName}/app/page-internal-server-error/page-internal-server-error.component`);
|
|
}
|
|
|
|
protected importUnthemedComponent(): Promise<any> {
|
|
return import(`./page-internal-server-error.component`);
|
|
}
|
|
}
|