Files
dspace-angular/src/app/request-copy/deny-request-copy/themed-deny-request-copy.component.ts
Alan Orth 8ac1e9a283 src/app: fix path to deny-request-copy component
The themed-deny-request-copy.component erroneously includes the cus-
tom theme's deny-request-copy component instead of its own.

Closes: https://github.com/DSpace/dspace-angular/issues/2351
2023-07-06 20:46:32 +03:00

27 lines
908 B
TypeScript

import { Component } from '@angular/core';
import { ThemedComponent } from 'src/app/shared/theme-support/themed.component';
import { DenyRequestCopyComponent } from './deny-request-copy.component';
/**
* Themed wrapper for deny-request-copy.component
*/
@Component({
selector: 'ds-themed-deny-request-copy',
styleUrls: [],
templateUrl: './../../shared/theme-support/themed.component.html',
})
export class ThemedDenyRequestCopyComponent extends ThemedComponent<DenyRequestCopyComponent> {
protected getComponentName(): string {
return 'DenyRequestCopyComponent';
}
protected importThemedComponent(themeName: string): Promise<any> {
return import(`../../../themes/${themeName}/app/request-copy/deny-request-copy/deny-request-copy.component`);
}
protected importUnthemedComponent(): Promise<any> {
return import('./deny-request-copy.component');
}
}