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
30
30
import {
31
31
useLogsAggregate ,
32
32
useLogsAggregateFunction ,
33
- useLogsAggregateParam ,
34
33
useLogsFields ,
35
34
useLogsGroupBy ,
36
35
useLogsSearch ,
@@ -90,10 +89,9 @@ export function LogsTabContent({
90
89
const interval = getIntervalOptionsForPageFilter ( pageFilters . selection . datetime ) ?. [ 0 ]
91
90
?. value ;
92
91
const aggregateFunction = useLogsAggregateFunction ( ) ;
93
- const aggregateParam = useLogsAggregateParam ( ) ;
94
92
const aggregate = useLogsAggregate ( ) ;
95
93
const [ sidebarOpen , setSidebarOpen ] = useState (
96
- ! ! ( aggregateFunction !== 'count' || aggregateParam || groupBy )
94
+ ! ! ( ( aggregateFunction && aggregateFunction !== 'count' ) || groupBy )
97
95
) ;
98
96
const timeseriesResult = useSortedTimeSeries (
99
97
{
You can’t perform that action at this time.
0 commit comments