mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 15:23:38 +01:00
feature(DataTable): render nullish labels as 'Unknown'
This commit is contained in:
parent
30ebf7b266
commit
fb85d576a2
@ -27,7 +27,7 @@ export default function DataTable({
|
|||||||
return (
|
return (
|
||||||
<AnimatedRow
|
<AnimatedRow
|
||||||
key={label}
|
key={label}
|
||||||
label={renderLabel ? renderLabel(row) : label}
|
label={renderLabel ? renderLabel(row) : label ?? 'Unknown'}
|
||||||
value={value}
|
value={value}
|
||||||
percent={percent}
|
percent={percent}
|
||||||
animate={animate && !virtualize}
|
animate={animate && !virtualize}
|
||||||
|
Loading…
Reference in New Issue
Block a user