mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
feat: bypass cache on screenshots for alerts (#17695)
* feat: bypass cache on screenshots for alerts * Update existing tests * Add backend test * Add frontend test
This commit is contained in:
@@ -52,6 +52,7 @@ const propTypes = {
|
||||
form_data: PropTypes.object,
|
||||
ownState: PropTypes.object,
|
||||
standalone: PropTypes.number,
|
||||
force: PropTypes.bool,
|
||||
timeout: PropTypes.number,
|
||||
refreshOverlayVisible: PropTypes.bool,
|
||||
chart: chartPropShape,
|
||||
@@ -131,7 +132,7 @@ const ExploreChartPanel = props => {
|
||||
if (slice && slice.query_context === null) {
|
||||
const queryContext = buildV1ChartDataPayload({
|
||||
formData: slice.form_data,
|
||||
force: false,
|
||||
force: props.force,
|
||||
resultFormat: 'json',
|
||||
resultType: 'full',
|
||||
setDataMask: null,
|
||||
@@ -227,6 +228,7 @@ const ExploreChartPanel = props => {
|
||||
chartId={chart.id}
|
||||
chartStatus={chart.chartStatus}
|
||||
triggerRender={props.triggerRender}
|
||||
force={props.force}
|
||||
datasource={props.datasource}
|
||||
errorMessage={props.errorMessage}
|
||||
formData={props.form_data}
|
||||
|
||||
Reference in New Issue
Block a user