Skip to content

Commit

Permalink
fix(explore): deck.gl Multiple chart
Browse files Browse the repository at this point in the history
broken (apache#17703)
  • Loading branch information
tesshy committed Feb 22, 2022
1 parent 26545a2 commit 34a01cc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,10 @@ export const DataTablesPane = ({
useEffect(() => {
if (queriesResponse && chartStatus === 'success') {
const { colnames } = queriesResponse[0];
setColumnNames([...colnames]);
setColumnNames({
...columnNames,
[RESULT_TYPES.results]: colnames ? [...colnames] : [],
});
}
}, [queriesResponse]);

Expand Down

0 comments on commit 34a01cc

Please sign in to comment.