From 678231d6370d0d67745ad89481db82f9f132d382 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Mon, 23 Jan 2023 15:28:10 +0100 Subject: [PATCH] fix(ui) - card drilldown filter --- .../Widgets/CustomMetricsWidgets/InsightsCard/InsightsCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/InsightsCard/InsightsCard.tsx b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/InsightsCard/InsightsCard.tsx index 9ac804853..7eea9990c 100644 --- a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/InsightsCard/InsightsCard.tsx +++ b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/InsightsCard/InsightsCard.tsx @@ -20,7 +20,7 @@ function InsightsCard() { case IssueCategory.RESOURCES: filter = { ...filtersMap[ - item.name === IssueType.MEMORY ? FilterKey.AVG_MEMORY_USAGE : FilterKey.AVG_CPU + item.name === IssueType.MEMORY ? FilterKey.AVG_MEMORY_USAGE : FilterKey.AVG_CPU_LOAD ], }; filter.source = [item.oldValue];