hughhhh commented on a change in pull request #18795:
URL: https://github.com/apache/superset/pull/18795#discussion_r817282392
##########
File path: superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx
##########
@@ -516,11 +517,10 @@ const AlertReportModal:
FunctionComponent<AlertReportModalProps> = ({
}
});
- const shouldEnableForceScreenshot = contentType === 'chart' && !isReport;
const data: any = {
...currentAlert,
type: isReport ? 'Report' : 'Alert',
- force_screenshot: shouldEnableForceScreenshot || forceScreenshot,
+ force_screenshot: !isReport || forceScreenshot, // alerts (!isReport)
should always bypass cache
Review comment:
Why not? Is it because of the perf issue that may arise?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]