mirror of
https://github.com/apache/superset.git
synced 2026-04-22 17:45:21 +00:00
committed by
GitHub
parent
f4ce831a10
commit
a6ac2c1245
@@ -47,6 +47,7 @@ import {
|
||||
const propTypes = {
|
||||
actions: PropTypes.object.isRequired,
|
||||
datasource_type: PropTypes.string.isRequired,
|
||||
dashboardId: PropTypes.number,
|
||||
isDatasourceMetaLoading: PropTypes.bool.isRequired,
|
||||
chart: chartPropShape.isRequired,
|
||||
slice: PropTypes.object,
|
||||
@@ -413,6 +414,7 @@ class ExploreViewContainer extends React.Component {
|
||||
actions={this.props.actions}
|
||||
form_data={this.props.form_data}
|
||||
sliceName={this.props.sliceName}
|
||||
dashboardId={this.props.dashboardId}
|
||||
/>
|
||||
)}
|
||||
<div
|
||||
@@ -508,6 +510,7 @@ function mapStateToProps(state) {
|
||||
datasource: explore.datasource,
|
||||
datasource_type: explore.datasource.type,
|
||||
datasourceId: explore.datasource_id,
|
||||
dashboardId: explore.form_data ? explore.form_data.dashboardId : undefined,
|
||||
controls: explore.controls,
|
||||
can_overwrite: !!explore.can_overwrite,
|
||||
can_add: !!explore.can_add,
|
||||
|
||||
Reference in New Issue
Block a user