mirror of
https://github.com/apache/superset.git
synced 2026-05-11 10:55:43 +00:00
fix(explore): bugs in Custom SQL editor in filter popover (#12278)
* Fix Save button disabled until clause is switched * Fix 'undefined undefined' when sql query is empty * fix test Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b221417e19
commit
e660723a2f
@@ -90,7 +90,7 @@ export default class AdhocFilterEditPopoverSqlTabContent extends React.Component
|
||||
|
||||
const clauseSelectProps = {
|
||||
placeholder: t('choose WHERE or HAVING...'),
|
||||
value: adhocFilter.clause || CLAUSES.WHERE,
|
||||
value: adhocFilter.clause,
|
||||
onChange: this.onSqlExpressionClauseChange,
|
||||
};
|
||||
const keywords = sqlKeywords.concat(
|
||||
|
||||
Reference in New Issue
Block a user