mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 23:43:01 +00:00
Fixes after rebasing from upstream/master
This commit is contained in:
@@ -21,7 +21,7 @@ export class CollectionBreadcrumbResolver extends DSOBreadcrumbResolver<Collecti
|
||||
*/
|
||||
get followLinks(): Array<FollowLinkConfig<Collection>> {
|
||||
return [
|
||||
followLink('parentCommunity', undefined,
|
||||
followLink('parentCommunity', undefined, true,
|
||||
followLink('parentCommunity')
|
||||
)
|
||||
];
|
||||
|
@@ -21,8 +21,8 @@ export class ItemBreadcrumbResolver extends DSOBreadcrumbResolver<Item> {
|
||||
*/
|
||||
get followLinks(): Array<FollowLinkConfig<Item>> {
|
||||
return [
|
||||
followLink('owningCollection', undefined,
|
||||
followLink('parentCommunity', undefined,
|
||||
followLink('owningCollection', undefined, true,
|
||||
followLink('parentCommunity', undefined, true,
|
||||
followLink('parentCommunity'))
|
||||
),
|
||||
followLink('bundles'),
|
||||
|
@@ -49,10 +49,8 @@ export class ClaimedTaskSearchResultDetailElementComponent extends SearchResultD
|
||||
*/
|
||||
ngOnInit() {
|
||||
super.ngOnInit();
|
||||
this.linkService.resolveLink(this.dso, followLink(
|
||||
'workflowitem',
|
||||
null,
|
||||
followLink('item', null, followLink('bundles')),
|
||||
this.linkService.resolveLink(this.dso, followLink('workflowitem', null, true,
|
||||
followLink('item', null, true, followLink('bundles')),
|
||||
followLink('submitter')
|
||||
));
|
||||
this.workflowitemRD$ = this.dso.workflowitem as Observable<RemoteData<WorkflowItem>>;
|
||||
|
@@ -48,10 +48,8 @@ export class PoolSearchResultDetailElementComponent extends SearchResultDetailEl
|
||||
*/
|
||||
ngOnInit() {
|
||||
super.ngOnInit();
|
||||
this.linkService.resolveLink(this.dso, followLink(
|
||||
'workflowitem',
|
||||
null,
|
||||
followLink('item', null, followLink('bundles')),
|
||||
this.linkService.resolveLink(this.dso, followLink('workflowitem', null, true,
|
||||
followLink('item', null, true, followLink('bundles')),
|
||||
followLink('submitter')
|
||||
));
|
||||
this.workflowitemRD$ = this.dso.workflowitem as Observable<RemoteData<WorkflowItem>>;
|
||||
|
@@ -55,11 +55,8 @@ export class ClaimedSearchResultListElementComponent extends SearchResultListEle
|
||||
*/
|
||||
ngOnInit() {
|
||||
super.ngOnInit();
|
||||
this.linkService.resolveLink(this.dso, followLink(
|
||||
'workflowitem',
|
||||
null,
|
||||
followLink('item'),
|
||||
followLink('submitter')
|
||||
this.linkService.resolveLink(this.dso, followLink('workflowitem', null, true,
|
||||
followLink('item'), followLink('submitter')
|
||||
));
|
||||
this.workflowitemRD$ = this.dso.workflowitem as Observable<RemoteData<WorkflowItem>>;
|
||||
}
|
||||
|
@@ -58,11 +58,8 @@ export class PoolSearchResultListElementComponent extends SearchResultListElemen
|
||||
*/
|
||||
ngOnInit() {
|
||||
super.ngOnInit();
|
||||
this.linkService.resolveLink(this.dso, followLink(
|
||||
'workflowitem',
|
||||
null,
|
||||
followLink('item'),
|
||||
followLink('submitter')
|
||||
this.linkService.resolveLink(this.dso, followLink('workflowitem', null, true,
|
||||
followLink('item'), followLink('submitter')
|
||||
));
|
||||
this.workflowitemRD$ = this.dso.workflowitem as Observable<RemoteData<WorkflowItem>>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user