From 2f3ecf512702c37eebeec8a14fa30a585e5a5573 Mon Sep 17 00:00:00 2001 From: rogerpujolnavarro Date: Fri, 15 Jul 2022 11:32:52 +0200 Subject: [PATCH] Show metric descriptions as FormHelperText --- src/components/Filters.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Filters.js b/src/components/Filters.js index 9fd9e08..6ed6aba 100644 --- a/src/components/Filters.js +++ b/src/components/Filters.js @@ -141,6 +141,9 @@ const Filters = (props) => { )) } + + {apiMetrics.filter((metric) => metric?.id === options?.metric)[0]?.description} + {