Skip to content
Snippets Groups Projects
Unverified Commit c11cb912 authored by Tom Robinson's avatar Tom Robinson
Browse files

Hide SQL editor when opening existing cards. Resolves #4133

parent fe51745f
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ export default class NativeQueryEditor extends Component {
MAX_AUTO_SIZE_LINES;
this.state = {
showEditor: true,//this.props.isOpen,
showEditor: !(props.card && props.card.id),
modeInfo: getModeInfo(props.query, props.databases),
initialHeight: getEditorLineHeight(lines)
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment