mirror of
https://github.com/docmost/docmost.git
synced 2026-09-01 03:15:32 +08:00
minor fix
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user