From 654685873addcd84d547666865ba4828e57de2ab Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 14 May 2024 21:38:10 -0700 Subject: [PATCH] Fix: restore search highlighting on large cards results (#6728) --- .../document-card-large/document-card-large.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html index e1a82a7ea..ad9ce2e89 100644 --- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html +++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html @@ -34,7 +34,7 @@
- @if (document.__search_hit__?.score && document.__search_hit__.highlights) { + @if (document.__search_hit__ && document.__search_hit__.highlights) { } @for (highlight of searchNoteHighlights; track highlight) {