Skip to content

Commit

Permalink
add comment for sqleditor format selector
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerTorres committed Dec 5, 2023
1 parent 2d91ede commit 082449c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/SqlEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export const SqlEditor = (props: SqlEditorProps) => {

return (
<>
{/* Only show in explore view where panel can't be manually selected. Dashboard view lets you change the panel. */}
{ app === CoreApp.Explore &&
<div className={'gf-form ' + styles.QueryEditor.queryType}>
<QueryTypeSwitcher queryType={queryType} onChange={queryType => saveChanges({ queryType })} sqlEditor />
Expand Down

0 comments on commit 082449c

Please sign in to comment.