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
|
//@ts-ignore
|
||||||
const searchResults = results.map((result: SearchResponseDto) => {
|
const searchResults = results.map((result: SearchResponseDto) => {
|
||||||
|
result.wholeWord = true
|
||||||
if (!result.highlight) {
|
if (!result.highlight) {
|
||||||
result.matchedText = [];
|
result.matchedText = [];
|
||||||
return result;
|
return result;
|
||||||
@@ -158,7 +159,6 @@ export class SearchService {
|
|||||||
),
|
),
|
||||||
];
|
];
|
||||||
|
|
||||||
result.wholeWord = true
|
|
||||||
return result;
|
return result;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user