Skip to content

Commit

Permalink
[Discover-Next] conditionally render selector
Browse files Browse the repository at this point in the history
When selecting a specific language, the data source selector disappears and relies completely on the
query editor when enhancements are enabled.

If toggled on and then off, everything is working properly.

opensearch-project#7046

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
  • Loading branch information
kavilla authored and sejli committed Jun 24, 2024
1 parent 73c305e commit c1eb3ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/data/public/ui/query_editor/query_editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ export default class QueryEditorUI extends Component<Props, State> {
scrollBeyondLastLine: false,
wordWrap: 'on',
wrappingIndent: 'indent',
selectionHighlight: false,
}}
/>
</EuiFlexItem>
Expand Down

0 comments on commit c1eb3ae

Please sign in to comment.