From 433291c4cd6aecd2d534c8f934516f7b169380e3 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 17 Apr 2024 15:27:02 -0600 Subject: [PATCH] Fix system graphs click and hover states --- web/src/components/graph/SystemGraph.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/web/src/components/graph/SystemGraph.tsx b/web/src/components/graph/SystemGraph.tsx index 31d12ddf8..e96ce8235 100644 --- a/web/src/components/graph/SystemGraph.tsx +++ b/web/src/components/graph/SystemGraph.tsx @@ -90,6 +90,13 @@ export function ThresholdBarGraph({ distributed: true, }, }, + states: { + active: { + filter: { + type: "none", + }, + }, + }, tooltip: { theme: systemTheme || theme, y: { @@ -192,6 +199,18 @@ export function StorageGraph({ graphId, used, total }: StorageGraphProps) { horizontal: true, }, }, + states: { + active: { + filter: { + type: "none", + }, + }, + hover: { + filter: { + type: "none", + }, + }, + }, tooltip: { enabled: false, },