From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 15 May 2024 04:38:10 +0000 (-0700) Subject: Fix: restore search highlighting on large cards results (#6728) X-Git-Tag: v2.8.5~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=654685873addcd84d547666865ba4828e57de2ab;p=thirdparty%2Fpaperless-ngx.git Fix: restore search highlighting on large cards results (#6728) --- 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 e1a82a7eac..ad9ce2e893 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) {