fix(explore): deck.gl Multiple chart broken (#17703)

This commit is contained in:
Stephen Liu 2021-12-10 02:03:02 +08:00 committed by GitHub
parent 3873cdff4d
commit bdc4e7a322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ export const DataTablesPane = ({
const { colnames } = queriesResponse[0];
setColumnNames({
...columnNames,
[RESULT_TYPES.results]: [...colnames],
[RESULT_TYPES.results]: colnames ? [...colnames] : [],
});
}
}, [queriesResponse]);