ui: fix series amount for path analysis, rm grid/list selector

This commit is contained in:
nick-delirium 2024-12-16 12:18:42 +01:00
parent 6f845f5e91
commit cddb933e0a
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0
2 changed files with 1 additions and 15 deletions

View file

@ -65,20 +65,6 @@ function MetricViewHeader() {
}
/>
</div>
<div className="flex items-center gap-6">
<ListViewToggler />
{/* <Toggler
label='My Cards'
checked={filter.showMine}
name='test'
className='font-medium mr-2'
onChange={() =>
metricStore.updateKey('filter', { ...filter, showMine: !filter.showMine })
}
/> */}
</div>
</div>
</div>
);

View file

@ -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 &&