mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Fixed merge issue.
This commit is contained in:
@@ -55,13 +55,10 @@ export class RelatedItemsComponent extends AbstractIncrementalListComponent<Obse
|
||||
*/
|
||||
viewMode = ViewMode.ListElement;
|
||||
|
||||
<<<<<<< HEAD
|
||||
constructor(public relationshipService: RelationshipService, protected elementRef: ElementRef) {
|
||||
=======
|
||||
constructor(public relationshipService: RelationshipDataService) {
|
||||
>>>>>>> main
|
||||
constructor(public relationshipService: RelationshipDataService, protected elementRef: ElementRef) {
|
||||
super();
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
const width = this.elementRef.nativeElement.offsetWidth;
|
||||
this.placeholderFontClass = setPlaceHolderFontSize(width);
|
||||
|
@@ -1,5 +1,4 @@
|
||||
<ds-metadata-field-wrapper [label]="label" [ngClass]="placeholderFontClass">
|
||||
<div #relatedItems>
|
||||
<ng-container *ngFor="let objectPage of objects; let i = index">
|
||||
<ng-container *ngVar="(objectPage | async) as itemsRD">
|
||||
<ds-listable-object-component-loader *ngFor="let item of itemsRD?.payload?.page"
|
||||
@@ -18,5 +17,4 @@
|
||||
</div>
|
||||
</ng-container>
|
||||
</ng-container>
|
||||
</div>
|
||||
</ds-metadata-field-wrapper>
|
||||
|
Reference in New Issue
Block a user