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) {