You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2021/12/09 18:04:10 UTC
[superset] branch master updated: fix(explore): deck.gl Multiple chart broken (#17703)
This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new bdc4e7a fix(explore): deck.gl Multiple chart broken (#17703)
bdc4e7a is described below
commit bdc4e7a322dc0adc441ce7052619a291a319de2b
Author: Stephen Liu <75...@qq.com>
AuthorDate: Fri Dec 10 02:03:02 2021 +0800
fix(explore): deck.gl Multiple chart broken (#17703)
---
superset-frontend/src/explore/components/DataTablesPane/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset-frontend/src/explore/components/DataTablesPane/index.tsx b/superset-frontend/src/explore/components/DataTablesPane/index.tsx
index 67a07f9..3771c62 100644
--- a/superset-frontend/src/explore/components/DataTablesPane/index.tsx
+++ b/superset-frontend/src/explore/components/DataTablesPane/index.tsx
@@ -305,7 +305,7 @@ export const DataTablesPane = ({
const { colnames } = queriesResponse[0];
setColumnNames({
...columnNames,
- [RESULT_TYPES.results]: [...colnames],
+ [RESULT_TYPES.results]: colnames ? [...colnames] : [],
});
}
}, [queriesResponse]);