From bdc4e7a322dc0adc441ce7052619a291a319de2b Mon Sep 17 00:00:00 2001 From: Stephen Liu <750188453@qq.com> Date: Fri, 10 Dec 2021 02:03:02 +0800 Subject: [PATCH] fix(explore): deck.gl Multiple chart broken (#17703) --- .../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 67a07f905f..3771c62655 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]);