mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
fix: Columns not passing properly from SQL Lab to Explore (#20975)
* debugging columns * Clean up code * Fix test
This commit is contained in:
committed by
GitHub
parent
755f654cc6
commit
d42cf4e4c9
@@ -721,7 +721,10 @@ class SqlEditor extends React.PureComponent {
|
||||
<div className="rightItems">
|
||||
<span>
|
||||
<SaveQuery
|
||||
query={qe}
|
||||
query={{
|
||||
...qe,
|
||||
columns: this.props.latestQuery?.results?.columns || [],
|
||||
}}
|
||||
defaultLabel={qe.name || qe.description}
|
||||
onSave={this.saveQuery}
|
||||
onUpdate={this.props.actions.updateSavedQuery}
|
||||
|
||||
Reference in New Issue
Block a user