File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
static/app/views/explore/logs Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import {useLogsPageDataQueryResult} from 'sentry/views/explore/contexts/logs/log
3030import {
3131 useLogsAggregate ,
3232 useLogsAggregateFunction ,
33- useLogsAggregateParam ,
3433 useLogsFields ,
3534 useLogsGroupBy ,
3635 useLogsSearch ,
@@ -90,10 +89,9 @@ export function LogsTabContent({
9089 const interval = getIntervalOptionsForPageFilter ( pageFilters . selection . datetime ) ?. [ 0 ]
9190 ?. value ;
9291 const aggregateFunction = useLogsAggregateFunction ( ) ;
93- const aggregateParam = useLogsAggregateParam ( ) ;
9492 const aggregate = useLogsAggregate ( ) ;
9593 const [ sidebarOpen , setSidebarOpen ] = useState (
96- ! ! ( aggregateFunction !== 'count' || aggregateParam || groupBy )
94+ ! ! ( ( aggregateFunction && aggregateFunction !== 'count' ) || groupBy )
9795 ) ;
9896 const timeseriesResult = useSortedTimeSeries (
9997 {
You can’t perform that action at this time.
0 commit comments