From 9868a887c0f4a182ee7a67d27c7183c6c08bb99c Mon Sep 17 00:00:00 2001 From: Sylvia Crowe Date: Fri, 21 Feb 2025 17:47:45 -0800 Subject: [PATCH] fix: sysinfo scroll data on initialization A bug in sysinfo made it so the initial data would load but not update until refreshed. This updates the subscription handler with the correct addContinuousData function to correct this. --- frontend/app/view/sysinfo/sysinfo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/view/sysinfo/sysinfo.tsx b/frontend/app/view/sysinfo/sysinfo.tsx index f4465621ac..dc26528498 100644 --- a/frontend/app/view/sysinfo/sysinfo.tsx +++ b/frontend/app/view/sysinfo/sysinfo.tsx @@ -377,7 +377,7 @@ function SysinfoView({ model, blockId }: SysinfoViewProps) { return () => { unsubFn(); }; - }, [connName]); + }, [connName, addContinuousData]); if (connStatus?.status != "connected") { return null; }