Skip to content

Commit c294410

Browse files
committed
[DSC-1974] Remove unused follow links
1 parent 8c5c15a commit c294410

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/app/shared/object-list/my-dspace-result-list-element/claimed-search-result/claimed-search-result-list-element.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class ClaimedSearchResultListElementComponent extends SearchResultListEle
7171
ngOnInit() {
7272
super.ngOnInit();
7373
this.linkService.resolveLinks(this.dso, followLink('workflowitem', {},
74-
followLink('item', {}, followLink('bundles')),
74+
followLink('item'),
7575
followLink('submitter')
7676
), followLink('action'));
7777

src/app/shared/object-list/my-dspace-result-list-element/pool-search-result/pool-search-result-list-element.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class PoolSearchResultListElementComponent extends SearchResultListElemen
8181
ngOnInit() {
8282
super.ngOnInit();
8383
this.linkService.resolveLinks(this.dso, followLink('workflowitem', {},
84-
followLink('item', {}, followLink('bundles')),
84+
followLink('item'),
8585
followLink('submitter')
8686
), followLink('action'));
8787

src/app/shared/object-list/my-dspace-result-list-element/workflow-item-search-result/workflow-item-search-result-list-element.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[viewMode]="ViewModes.ListElement"
44
[object]="derivedSearchResult$ | async" [linkType]="LinkTypes.None"
55
[context]="badgeContext"
6+
[showMetrics]="false"
67
[showThumbnails]="showThumbnails"></ds-listable-object-component-loader>
78
<div class="row">
89
<div [ngClass]="showThumbnails ? 'offset-3 offset-xl-2 pl-3' : 'ml-3'">

src/app/shared/object-list/my-dspace-result-list-element/workspace-item-search-result/workspace-item-search-result-list-element.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[object]="derivedSearchResult$ | async" [linkType]="LinkTypes.None"
55
[context]="badgeContext"
66
[showLabel]="showLabel"
7-
[showMetrics]="showMetrics"
7+
[showMetrics]="false"
88
[showThumbnails]="showThumbnails"></ds-listable-object-component-loader>
99
<div class="row">
1010
<div [ngClass]="showThumbnails ? 'offset-3 offset-xl-2 pl-3' : 'ml-3'">

0 commit comments

Comments
 (0)