Make remove doc link interactive element

This commit is contained in:
shamoon 2024-05-20 09:21:38 -07:00
parent 5b2ce2d34f
commit 689f71bf42

View File

@ -27,7 +27,7 @@
(change)="onChange(selectedDocuments)">
<ng-template ng-label-tmp let-document="item">
<div class="d-flex align-items-center">
<i-bs (click)="unselect(document)" name="x"></i-bs>
<button class="btn p-0 lh-1" (click)="unselect(document)"><i-bs name="x"></i-bs></button>
<a routerLink="/documents/{{document.id}}" class="badge bg-light text-primary" (mousedown)="$event.stopImmediatePropagation();">
<i-bs width="0.9em" height="0.9em" name="file-text"></i-bs>&nbsp;<span>{{document.title}}</span>
</a>