Skip to content

Commit f82e76e

Browse files
hide sidebar sorting for qp (#5531)
1 parent 3ad6efb commit f82e76e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/packages/core/src/components/Actions/Options.tsx

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ const SortFilterResults = ({ modal }) => {
2525
const [{ count, asc }, setSortFilterResults] = useRecoilState(
2626
fos.sortFilterResults(modal)
2727
);
28+
const queryPerformance = useRecoilValue(fos.queryPerformance);
29+
if (queryPerformance) {
30+
// sidebar sorting is not configurable
31+
return null;
32+
}
2833

2934
return (
3035
<>

0 commit comments

Comments
 (0)