diff options
Diffstat (limited to 'subprojects/frontend/src/editor/SearchPanelStore.ts')
-rw-r--r-- | subprojects/frontend/src/editor/SearchPanelStore.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subprojects/frontend/src/editor/SearchPanelStore.ts b/subprojects/frontend/src/editor/SearchPanelStore.ts index 8dd02ae6..65d595a8 100644 --- a/subprojects/frontend/src/editor/SearchPanelStore.ts +++ b/subprojects/frontend/src/editor/SearchPanelStore.ts | |||
@@ -21,7 +21,7 @@ export default class SearchPanelStore extends PanelStore { | |||
21 | // Use a custom class name to avoid specificity issues with | 21 | // Use a custom class name to avoid specificity issues with |
22 | // CodeMirror `.cm-search.cm-panel` CSS styles. | 22 | // CodeMirror `.cm-search.cm-panel` CSS styles. |
23 | super('refinery-cm-search', openSearchPanel, closeSearchPanel, store); | 23 | super('refinery-cm-search', openSearchPanel, closeSearchPanel, store); |
24 | makeObservable(this, { | 24 | makeObservable<SearchPanelStore, 'selectSearchField'>(this, { |
25 | searchField: observable.ref, | 25 | searchField: observable.ref, |
26 | query: computed, | 26 | query: computed, |
27 | invalidRegexp: computed, | 27 | invalidRegexp: computed, |
@@ -32,6 +32,7 @@ export default class SearchPanelStore extends PanelStore { | |||
32 | findPrevious: action, | 32 | findPrevious: action, |
33 | replaceNext: action, | 33 | replaceNext: action, |
34 | replaceAll: action, | 34 | replaceAll: action, |
35 | selectSearchField: false, | ||
35 | }); | 36 | }); |
36 | } | 37 | } |
37 | 38 | ||