Query stops editing when an element is added.

pull/16/head
Sander Vocke 5 years ago
parent c0c6768cbb
commit 112047f860
  1. 1
      client/src/components/querybuilder/QueryBuilder.tsx

@ -25,6 +25,7 @@ export default function QueryBuilder(props: IProps) {
const onReplace = (q: any) => {
const newQ = removePlaceholders(q);
setEditing(false);
props.onChangeQuery(newQ);
}

Loading…
Cancel
Save