We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e7002 commit f164bd2Copy full SHA for f164bd2
src/components/databrowser/components/display/header-badges.tsx
@@ -39,12 +39,12 @@ export const SizeBadge = ({ dataKey }: { dataKey: string }) => {
39
40
return (
41
<Badge label="Size:">
42
- {size ? (
+ {size === undefined || size === null ? (
43
+ <Skeleton className="ml-1 h-3 w-10 rounded-md opacity-50" />
44
+ ) : (
45
bytes(size, {
46
unitSeparator: " ",
47
})
- ) : (
- <Skeleton className="ml-1 h-3 w-10 rounded-md opacity-50" />
48
)}
49
</Badge>
50
)
0 commit comments