betodealmeida commented on a change in pull request #12049:
URL:
https://github.com/apache/incubator-superset/pull/12049#discussion_r542975832
##########
File path: superset-frontend/src/SqlLab/components/SqlEditor.jsx
##########
@@ -566,13 +566,15 @@ class SqlEditor extends React.PureComponent {
<Checkbox checked={this.state.autocompleteEnabled} />{' '}
{t('Autocomplete')}
</Button>{' '}
- <TemplateParamsEditor
- language="json"
- onChange={params => {
- this.props.actions.queryEditorSetTemplateParams(qe, params);
- }}
- code={qe.templateParams}
- />
+ {isFeatureEnabled(FeatureFlag.ENABLE_TEMPLATE_PROCESSING) && (
Review comment:
We are showing "Parameters" in SQL Lab even though the functionality is
now behind a feature flag in the backend. I turned it off here if the
functionality is not enabled.
cc: @hughhhh
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]