mirror of
https://github.com/apache/superset.git
synced 2026-04-26 11:34:27 +00:00
feat: Added configuration to SQL Lab results "Explore" button (#10164)
* added configuration to virtual table explore button * added description to mixin * fixed unit tests Co-authored-by: Jason Davis <@dropbox.com>
This commit is contained in:
@@ -145,13 +145,15 @@ export default class ResultSet extends React.PureComponent {
|
||||
return (
|
||||
<div className="ResultSetControls">
|
||||
<div className="ResultSetButtons">
|
||||
{this.props.visualize && (
|
||||
<ExploreResultsButton
|
||||
query={this.props.query}
|
||||
database={this.props.database}
|
||||
actions={this.props.actions}
|
||||
/>
|
||||
)}
|
||||
{this.props.visualize &&
|
||||
this.props.database &&
|
||||
this.props.database.allows_virtual_table_explore && (
|
||||
<ExploreResultsButton
|
||||
query={this.props.query}
|
||||
database={this.props.database}
|
||||
actions={this.props.actions}
|
||||
/>
|
||||
)}
|
||||
{this.props.csv && (
|
||||
<Button
|
||||
bsSize="small"
|
||||
|
||||
Reference in New Issue
Block a user