diff --git a/frontend/app/components/Dashboard/Dashboard.js b/frontend/app/components/Dashboard/Dashboard.js index 0949c8285..941b37ff7 100644 --- a/frontend/app/components/Dashboard/Dashboard.js +++ b/frontend/app/components/Dashboard/Dashboard.js @@ -60,7 +60,7 @@ const menuList = [ active: status === OVERVIEW, }, { - key: OVERVIEW, + key: CUSTOM_METRICS, section: 'metrics', icon: "sliders", label: getStatusLabel(CUSTOM_METRICS), diff --git a/frontend/app/components/Dashboard/Widgets/TrendChart/TrendChart.js b/frontend/app/components/Dashboard/Widgets/TrendChart/TrendChart.js index a9f305b0f..d73c8e061 100644 --- a/frontend/app/components/Dashboard/Widgets/TrendChart/TrendChart.js +++ b/frontend/app/components/Dashboard/Widgets/TrendChart/TrendChart.js @@ -25,7 +25,7 @@ const loadChart = (data, loading, unit, syncId, compare, tooltipLael) => { {filteredWidgets.map(w => (
diff --git a/frontend/app/components/shared/Filters/FilterAutoComplete/FilterAutoComplete.tsx b/frontend/app/components/shared/Filters/FilterAutoComplete/FilterAutoComplete.tsx index 53ac4eb1f..b6c1c4608 100644 --- a/frontend/app/components/shared/Filters/FilterAutoComplete/FilterAutoComplete.tsx +++ b/frontend/app/components/shared/Filters/FilterAutoComplete/FilterAutoComplete.tsx @@ -135,8 +135,9 @@ function FilterAutoComplete(props: Props) { { headerText && headerText } { - options.map(item => ( + options.map((item, i) => (
onItemClick(e, item) } > diff --git a/frontend/app/components/shared/Filters/FilterValue/FilterValue.tsx b/frontend/app/components/shared/Filters/FilterValue/FilterValue.tsx index fb5c5e530..f5ffdcb39 100644 --- a/frontend/app/components/shared/Filters/FilterValue/FilterValue.tsx +++ b/frontend/app/components/shared/Filters/FilterValue/FilterValue.tsx @@ -17,13 +17,6 @@ function FilterValue(props: Props) { const onAddValue = () => { const newValue = filter.value.concat(''); props.onUpdate({ ...filter, value: newValue }); - - // const newValues = filter.value.concat("") - // try { - // props.onUpdate({ ...filter.toData(), value: newValues }) - // } catch (e) { - // props.onUpdate({ ...filter, value: newValues }) - // } } const onRemoveValue = (valueIndex) => { diff --git a/frontend/app/components/shared/SavedSearch/SavedSearch.tsx b/frontend/app/components/shared/SavedSearch/SavedSearch.tsx index 2317fba65..ffada6726 100644 --- a/frontend/app/components/shared/SavedSearch/SavedSearch.tsx +++ b/frontend/app/components/shared/SavedSearch/SavedSearch.tsx @@ -29,7 +29,7 @@ function SavedSearch(props) { >
-