mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
Split typed list/grid elements into normal and search result
This commit is contained in:
@@ -45,15 +45,15 @@ export class ProjectComponent extends ItemComponent implements OnInit {
|
||||
this.contributors$ = this.buildRepresentations('OrgUnit', 'project.contributor.other');
|
||||
|
||||
this.people$ = this.resolvedRelsAndTypes$.pipe(
|
||||
getRelatedItemsByTypeLabel(this.item.id, 'isPersonOfProject')
|
||||
getRelatedItemsByTypeLabel(this.object.id, 'isPersonOfProject')
|
||||
);
|
||||
|
||||
this.publications$ = this.resolvedRelsAndTypes$.pipe(
|
||||
getRelatedItemsByTypeLabel(this.item.id, 'isPublicationOfProject')
|
||||
getRelatedItemsByTypeLabel(this.object.id, 'isPublicationOfProject')
|
||||
);
|
||||
|
||||
this.orgUnits$ = this.resolvedRelsAndTypes$.pipe(
|
||||
getRelatedItemsByTypeLabel(this.item.id, 'isOrgUnitOfProject')
|
||||
getRelatedItemsByTypeLabel(this.object.id, 'isOrgUnitOfProject')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user