mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00

* 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>
15 lines
600 B
HTML
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"> </span>
|
|
<span class="badge rounded-pill bg-secondary align-self-center ps-2 pe-2">{{object.count}}</span>
|
|
</div>
|