From 45be1e826cdf511c2f41b4c8f5f0eb1ada4fb1ff Mon Sep 17 00:00:00 2001 From: stephenLYZ <750188453@qq.com> Date: Thu, 9 Dec 2021 18:31:11 +0800 Subject: [PATCH] fix(explore): deck.gl Multiple chart broken --- .../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 67a07f905fed6..3771c62655fb5 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]);