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 (
|
||||
<AnimatedRow
|
||||
key={label}
|
||||
label={renderLabel ? renderLabel(row) : label}
|
||||
label={renderLabel ? renderLabel(row) : label ?? 'Unknown'}
|
||||
value={value}
|
||||
percent={percent}
|
||||
animate={animate && !virtualize}
|
||||
|
Loading…
Reference in New Issue
Block a user