mirror of
https://github.com/apache/superset.git
synced 2026-05-10 10:25:51 +00:00
fix(heatmap): correctly render int and boolean falsy values on axes (#33238)
(cherry picked from commit ac636c73ae)
This commit is contained in:
committed by
Michael S. Molina
parent
a3c08fd9bf
commit
a6895e07b0
@@ -145,7 +145,7 @@ export default function transformProps(
|
||||
data: data.map(row =>
|
||||
colnames.map(col => {
|
||||
const value = row[col];
|
||||
if (!value) {
|
||||
if (value === null || value === undefined) {
|
||||
return NULL_STRING;
|
||||
}
|
||||
if (typeof value === 'boolean' || typeof value === 'bigint') {
|
||||
|
||||
Reference in New Issue
Block a user