mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
27 lines
855 B
TypeScript
27 lines
855 B
TypeScript
import { Component } from '@angular/core';
|
|
import { ThemedComponent } from '../../shared/theme-support/themed.component';
|
|
import { ObjectNotFoundComponent } from './objectnotfound.component';
|
|
|
|
/**
|
|
* Themed wrapper for ObjectNotFoundComponent
|
|
*/
|
|
@Component({
|
|
selector: 'ds-themed-objnotfound',
|
|
styleUrls: [],
|
|
templateUrl: '../../shared/theme-support/themed.component.html',
|
|
})
|
|
export class ThemedObjectNotFoundComponent extends ThemedComponent<ObjectNotFoundComponent> {
|
|
protected getComponentName(): string {
|
|
return 'ObjectNotFoundComponent';
|
|
}
|
|
|
|
protected importThemedComponent(themeName: string): Promise<any> {
|
|
return import(`../../../themes/${themeName}/app/+lookup-by-id/objectnotfound/objectnotfound.component`);
|
|
}
|
|
|
|
protected importUnthemedComponent(): Promise<any> {
|
|
return import(`./objectnotfound.component`);
|
|
}
|
|
|
|
}
|