Skip to content

Commit

Permalink
pass query with defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
sunker committed Aug 18, 2022
1 parent da96412 commit 3379155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export function QueryEditor(props: Props) {
</div>

<div style={{ minWidth: '400px', marginLeft: '10px', flex: 1 }}>
<SQLEditor query={props.query} onChange={props.onChange} datasource={props.datasource} />
<SQLEditor query={queryWithDefaults} onChange={props.onChange} datasource={props.datasource} />
</div>
</InlineSegmentGroup>
</>
Expand Down

0 comments on commit 3379155

Please sign in to comment.