fix for #2818 (dont let empty plotData go to SingleLinePlot) (#2827)

This commit is contained in:
Mike Sawka 2026-02-05 10:02:49 -08:00 committed by GitHub
parent 78ab9e0b94
commit b882e3801a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -547,7 +547,7 @@ const SysinfoViewInner = React.memo(({ model }: SysinfoViewProps) => {
"grid-cols-2": cols2,
})}
>
{yvals.map((yval, idx) => {
{plotData && plotData.length > 0 && yvals.map((yval, idx) => {
return (
<SingleLinePlot
key={`plot-${model.blockId}-${yval}`}