fix: dataTablesPane cell render undefine when the dot in metric label (#15817)

* fix: dataTablesPane cell render undefine when the dot in metric label

* fix UT
This commit is contained in:
Yongjie Zhao
2021-07-22 15:09:27 +01:00
committed by GitHub
parent fdb40350bb
commit b9d3338153
2 changed files with 128 additions and 19 deletions

View File

@@ -122,7 +122,7 @@ export const useTableColumns = (
? Object.keys(data[0]).map(
key =>
({
accessor: key,
accessor: row => row[key],
Header: key,
Cell: ({ value }) => {
if (value === true) {