From 7b47021d19383eb1f0f9918aad18fc1d6269702a Mon Sep 17 00:00:00 2001 From: Joao Silva <100691367+JoaoSilvaGrafana@users.noreply.github.com> Date: Fri, 2 Dec 2022 12:10:21 +0100 Subject: [PATCH] A11y: Remove unnecessary onClick from `LegendSeriesItem` (#59671) --- .../app/plugins/panel/graph/Legend/LegendSeriesItem.tsx | 8 ++------ public/sass/components/_panel_graph.scss | 1 - 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/public/app/plugins/panel/graph/Legend/LegendSeriesItem.tsx b/public/app/plugins/panel/graph/Legend/LegendSeriesItem.tsx index 073c9f5872e..188168ecf58 100644 --- a/public/app/plugins/panel/graph/Legend/LegendSeriesItem.tsx +++ b/public/app/plugins/panel/graph/Legend/LegendSeriesItem.tsx @@ -221,14 +221,10 @@ interface LegendValueProps { function LegendValue({ value, valueName, asTable, onValueClick }: LegendValueProps) { if (asTable) { return ( -