diff options
| author | Jenny Yu <jennyyu212@outlook.com> | 2022-06-08 19:00:02 -0700 |
|---|---|---|
| committer | Jenny Yu <jennyyu212@outlook.com> | 2022-06-08 19:00:02 -0700 |
| commit | dff15ea5cc4b351f9bea90c1822e1b02d4f0730b (patch) | |
| tree | e3e893b6b8fdf95e9860673f0b4357e26dc9ff1d /src/client/views/search/SearchBox.tsx | |
| parent | 88a8f35c33bbff61b0058a66d7bcc586d483deca (diff) | |
| parent | 0ae3de67900489a6ffd43eabaa810c3ec3fdddd9 (diff) | |
fix: merge conflicts
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index 321af69a1..574193614 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -342,6 +342,9 @@ export class SearchBox extends ViewBoxBaseComponent<SearchBoxProps>() { const query = StrCast(this._searchString); Doc.SetSearchQuery(query); + Array.from(this._results.keys()).forEach(doc => + DocumentManager.Instance.getFirstDocumentView(doc)?.ComponentView?.search?.(this._searchString, undefined, true) + ); this._results.clear(); if (query) { |
