You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/09/08 04:32:34 UTC

[GitHub] [superset] MaxHuiYYDS commented on a change in pull request #16630: fix(explore): fix local development explore error

MaxHuiYYDS commented on a change in pull request #16630:
URL: https://github.com/apache/superset/pull/16630#discussion_r704020890



##########
File path: superset-frontend/src/explore/components/DataTablesPane/index.tsx
##########
@@ -225,7 +225,7 @@ export const DataTablesPane = ({
 
   useEffect(() => {
     if (queriesResponse && chartStatus === 'success') {
-      const { colnames } = queriesResponse[0];
+      const { colnames = [] } = queriesResponse[0];

Review comment:
       Reproduce: chart list / welcome -> select birth_names related chart(eg: Pivot Table, Top 10 Boy Name Share).
   




-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org