Only show RunFilters in Query if strategy is 'merge'
@@ -57,6 +57,7 @@ class QueryEditor extends React.Component {
checked={strategy === 'merge'}
onChange={() => this.setStrategy('merge')}
/>
+ {strategy === 'merge' && (
<RunFilters
filters={this.filters}
runs={runs}
@@ -68,6 +69,7 @@ class QueryEditor extends React.Component {
}
buttonText="Add Filter"
/>
+ )}
</Form.Group>
</Form>
);
