mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fix: restore search highlighting on large cards results (#6728)
This commit is contained in:
parent
2ac5407dd4
commit
654685873a
@ -34,7 +34,7 @@
|
|||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
<p class="card-text">
|
<p class="card-text">
|
||||||
@if (document.__search_hit__?.score && document.__search_hit__.highlights) {
|
@if (document.__search_hit__ && document.__search_hit__.highlights) {
|
||||||
<span [innerHtml]="document.__search_hit__.highlights"></span>
|
<span [innerHtml]="document.__search_hit__.highlights"></span>
|
||||||
}
|
}
|
||||||
@for (highlight of searchNoteHighlights; track highlight) {
|
@for (highlight of searchNoteHighlights; track highlight) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user