robdiciuccio commented on a change in pull request #15157:
URL: https://github.com/apache/superset/pull/15157#discussion_r652124572
##########
File path: superset-frontend/src/chart/chartAction.js
##########
@@ -395,7 +395,16 @@ export function exploreJSON(
if (isFeatureEnabled(FeatureFlag.GLOBAL_ASYNC_QUERIES)) {
// deal with getChartDataRequest transforming the response data
const result = 'result' in response ? response.result[0] : response;
- return waitForAsyncData(result);
+ const awaitingChartData =
+ 'job_id' in result && 'channel_id' in result;
Review comment:
Can we switch on HTTP status code instead here?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]