From cddb933e0a6279ffeb1b4edd43c84469a90c9425 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Mon, 16 Dec 2024 12:18:42 +0100 Subject: [PATCH] ui: fix series amount for path analysis, rm grid/list selector --- .../MetricViewHeader/MetricViewHeader.tsx | 14 -------------- .../components/WidgetForm/WidgetFormNew.tsx | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/frontend/app/components/Dashboard/components/MetricViewHeader/MetricViewHeader.tsx b/frontend/app/components/Dashboard/components/MetricViewHeader/MetricViewHeader.tsx index 3ab7b683f..109729b76 100644 --- a/frontend/app/components/Dashboard/components/MetricViewHeader/MetricViewHeader.tsx +++ b/frontend/app/components/Dashboard/components/MetricViewHeader/MetricViewHeader.tsx @@ -65,20 +65,6 @@ function MetricViewHeader() { } /> - -
- - - {/* - metricStore.updateKey('filter', { ...filter, showMine: !filter.showMine }) - } - /> */} -
); diff --git a/frontend/app/components/Dashboard/components/WidgetForm/WidgetFormNew.tsx b/frontend/app/components/Dashboard/components/WidgetForm/WidgetFormNew.tsx index 04c8f34a3..ded080335 100644 --- a/frontend/app/components/Dashboard/components/WidgetForm/WidgetFormNew.tsx +++ b/frontend/app/components/Dashboard/components/WidgetForm/WidgetFormNew.tsx @@ -48,7 +48,7 @@ const FilterSection = observer(({ metric, excludeFilterKeys }: any) => { const isRetention = metric.metricType === RETENTION; const canAddSeries = metric.series.length < 3; - const isSingleSeries = isTable || isFunnel || isHeatMap || isInsights || isRetention; + const isSingleSeries = isTable || isFunnel || isHeatMap || isInsights || isRetention || isPathAnalysis; return ( <> {metric.series.length > 0 &&