From ce91862064f497252e14edb54db086a3bab08df7 Mon Sep 17 00:00:00 2001 From: Sparkle <1284531+baurine@users.noreply.github.com> Date: Mon, 6 Jul 2020 12:21:45 +0800 Subject: [PATCH] ui: remember the selected legends for metric chart (#663) --- ui/lib/components/MetricChart/index.tsx | 2 -- ui/package.json | 4 ++-- ui/yarn.lock | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ui/lib/components/MetricChart/index.tsx b/ui/lib/components/MetricChart/index.tsx index 8c00c99cbe..7fe2d6eecb 100644 --- a/ui/lib/components/MetricChart/index.tsx +++ b/ui/lib/components/MetricChart/index.tsx @@ -121,7 +121,6 @@ export default function MetricChart({ ...getSeriesProps(type), }) }) - return s }) return { @@ -234,7 +233,6 @@ export default function MetricChart({ inner = (