forked from hazza/dspace-angular
extend eperson render type for display of dso name
https://github.com/DSpace/dspace-angular/issues/2947
(cherry picked from commit 97fade00a4
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
6ac2e9a95d
commit
202c84c484
@@ -85,7 +85,7 @@ export class EPerson extends DSpaceObject {
|
||||
public groups?: Observable<RemoteData<PaginatedList<Group>>>;
|
||||
|
||||
getRenderTypes(): (string | GenericConstructor<ListableObject>)[] {
|
||||
return [this.constructor.name, ...super.getRenderTypes()];
|
||||
return ['EPerson', this.constructor.name, ...super.getRenderTypes()];
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user