Files
dspace-angular/src/app/shared/object-list/browse-entry-list-element/browse-entry-list-element.component.html
Atmire-Kristof fa8bdeb157 Clear url parameters for entity search tabs (#2734)
* 110878: Entity search - clear params on tab switch

* 110878: Properly clear browse-by values when navigating

* 132230: Related entity tab switching: only keep query & scope, reset page to 1

---------

Co-authored-by: Nona Luypaert <nona.luypaert@atmire.com>
2025-09-05 16:59:13 -05:00

15 lines
600 B
HTML

<div class="d-flex flex-row">
@if (linkType !== linkTypes.None) {
<a [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'" [attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null" [routerLink]="[]" [queryParams]="queryParams$ | async" class="lead" role="link" tabindex="0">
{{object.value}}
</a>
}
@if (linkType === linkTypes.None) {
<span class="lead">
{{object.value}}
</span>
}
<span class="pe-2">&nbsp;</span>
<span class="badge rounded-pill bg-secondary align-self-center ps-2 pe-2">{{object.count}}</span>
</div>