Fix: restore search highlighting on large cards results (#6728)

This commit is contained in:
shamoon 2024-05-14 21:38:10 -07:00 committed by GitHub
parent 2ac5407dd4
commit 654685873a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@
</h5>
</div>
<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>
}
@for (highlight of searchNoteHighlights; track highlight) {