From 5bedd5c25ac8ab5b379c6b87e1afb95cdf3c0ef5 Mon Sep 17 00:00:00 2001 From: YeonV Date: Mon, 17 Feb 2025 20:52:33 +0100 Subject: [PATCH] fix: re-enable graphs in devices view --- src/utils/Websocket.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/Websocket.ts b/src/utils/Websocket.ts index 4303eb32..beb09197 100644 --- a/src/utils/Websocket.ts +++ b/src/utils/Websocket.ts @@ -215,6 +215,8 @@ export const HandleWs = () => { useLayoutEffect(() => { if (!graphs || !graphsMulti) { setPixelGraphs([]) + } else { + setPixelGraphs(Object.keys(virtuals)) } // eslint-disable-next-line react-hooks/exhaustive-deps }, [graphs, graphsMulti])