Fix truncated link to not refresh full window

This commit is contained in:
natsoni 2024-08-04 14:30:21 +02:00
parent 4dbcd6ca18
commit 439c52af30
No known key found for this signature in database
GPG Key ID: C65917583181743B

View File

@ -1,6 +1,6 @@
<span class="truncate" [style.max-width]="maxWidth ? maxWidth + 'px' : null" [style.justify-content]="textAlign" [class.inline]="inline">
<ng-container *ngIf="link">
<a [routerLink]="link" class="truncate-link" [target]="external ? '_blank' : ''">
<a [routerLink]="link" class="truncate-link" [target]="external ? '_blank' : '_self'">
<ng-container *ngIf="rtl; then rtlTruncated; else ltrTruncated;"></ng-container>
</a>
</ng-container>