Skip to content

Commit b882e38

Browse files
authored
fix for #2818 (dont let empty plotData go to SingleLinePlot) (#2827)
1 parent 78ab9e0 commit b882e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/app/view/sysinfo/sysinfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ const SysinfoViewInner = React.memo(({ model }: SysinfoViewProps) => {
547547
"grid-cols-2": cols2,
548548
})}
549549
>
550-
{yvals.map((yval, idx) => {
550+
{plotData && plotData.length > 0 && yvals.map((yval, idx) => {
551551
return (
552552
<SingleLinePlot
553553
key={`plot-${model.blockId}-${yval}`}

0 commit comments

Comments
 (0)