diff --git a/services/web/frontend/js/features/source-editor/components/codemirror-search-form.tsx b/services/web/frontend/js/features/source-editor/components/codemirror-search-form.tsx index 270949c023..f04299fbb0 100644 --- a/services/web/frontend/js/features/source-editor/components/codemirror-search-form.tsx +++ b/services/web/frontend/js/features/source-editor/components/codemirror-search-form.tsx @@ -214,6 +214,8 @@ const CodeMirrorSearchForm: FC = () => { return getSearchQuery(state) }, [state]) + const showReplace = !state.readOnly + return ( // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions