From 0fe452ec26bdbf6fab1b280e01252b902076743b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 17 Dec 2018 15:38:51 +0100 Subject: [PATCH] Minor react graph panel refactorings and fixes --- public/app/core/components/Switch/Switch.tsx | 2 +- .../app/plugins/panel/graph2/GraphOptions.tsx | 29 +++++++------------ 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/public/app/core/components/Switch/Switch.tsx b/public/app/core/components/Switch/Switch.tsx index 5cb7617c89c..d53a3d68878 100644 --- a/public/app/core/components/Switch/Switch.tsx +++ b/public/app/core/components/Switch/Switch.tsx @@ -32,7 +32,7 @@ export class Switch extends PureComponent { const switchClassName = `gf-form-switch ${switchClass} ${transparent ? 'gf-form-switch--transparent' : ''}`; return ( -