minor fix

This commit is contained in:
Salihu
2026-08-30 00:51:42 +01:00
parent a5bba9863d
commit 1a741ee153
@@ -140,6 +140,7 @@ export class SearchService {
//@ts-ignore
const searchResults = results.map((result: SearchResponseDto) => {
result.wholeWord = true
if (!result.highlight) {
result.matchedText = [];
return result;
@@ -158,7 +159,6 @@ export class SearchService {
),
];
result.wholeWord = true
return result;
});