mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 12:03:03 +00:00
Merge pull request #2929 from alexandrevryghem/w2p-113901_edit-item-relationships-does-not-display-tilted-relationships_contribute-main
Fixed edit item relationships tab not displaying tilted relationships
This commit is contained in:
@@ -193,6 +193,9 @@ describe('EditRelationshipListComponent', () => {
|
|||||||
[relationships[0].uuid]: fieldUpdate1,
|
[relationships[0].uuid]: fieldUpdate1,
|
||||||
[relationships[1].uuid]: fieldUpdate2,
|
[relationships[1].uuid]: fieldUpdate2,
|
||||||
}),
|
}),
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||||
|
initialize: () => {
|
||||||
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@@ -509,8 +509,13 @@ export class EditRelationshipListComponent implements OnInit, OnDestroy {
|
|||||||
...linksToFollow,
|
...linksToFollow,
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
).subscribe((rd: RemoteData<PaginatedList<Relationship>>) => {
|
tap((rd: RemoteData<PaginatedList<Relationship>>) => {
|
||||||
this.relationshipsRd$.next(rd);
|
this.relationshipsRd$.next(rd);
|
||||||
|
}),
|
||||||
|
getAllSucceededRemoteData(),
|
||||||
|
getRemoteDataPayload(),
|
||||||
|
).subscribe((relationshipPaginatedList: PaginatedList<Relationship>) => {
|
||||||
|
this.objectUpdatesService.initialize(this.url, relationshipPaginatedList.page, new Date());
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@@ -85,7 +85,7 @@
|
|||||||
<button class="btn btn-primary submit"
|
<button class="btn btn-primary submit"
|
||||||
[disabled]="(toAdd.length === 0 && toRemove.length === 0) || isPending"
|
[disabled]="(toAdd.length === 0 && toRemove.length === 0) || isPending"
|
||||||
(click)="submitEv()">
|
(click)="submitEv()">
|
||||||
<span *ngIf="isPending" class="spinner-border spinner-border-sm" role="status"
|
<span *ngIf="isPending" class="spinner-border spinner-border-sm mr-1" role="status"
|
||||||
aria-hidden="true"></span>
|
aria-hidden="true"></span>
|
||||||
<i *ngIf="!isPending" class="fas fa-save"></i>
|
<i *ngIf="!isPending" class="fas fa-save"></i>
|
||||||
<span class="d-none d-sm-inline"> {{"item.edit.metadata.save-button" | translate}}</span>
|
<span class="d-none d-sm-inline"> {{"item.edit.metadata.save-button" | translate}}</span>
|
||||||
|
Reference in New Issue
Block a user