From fd9feb5221aed2e348eed90e19847cbb8792bbe6 Mon Sep 17 00:00:00 2001 From: Emmanouil Zoumpoulakis Date: Sat, 25 Feb 2023 23:26:02 +0100 Subject: [PATCH] fix(react-query-devtools): do not hide sort options when filter is used Sort options (asc / desc, and sort function) were hidden when filter was set. Sort options are now shown along with the filter, even when a filter is set. Closes #4989 --- .../react-query-devtools/src/devtools.tsx | 188 ++++++++---------- 1 file changed, 88 insertions(+), 100 deletions(-) diff --git a/packages/react-query-devtools/src/devtools.tsx b/packages/react-query-devtools/src/devtools.tsx index 1e23d69d0e..99c244b929 100644 --- a/packages/react-query-devtools/src/devtools.tsx +++ b/packages/react-query-devtools/src/devtools.tsx @@ -621,106 +621,94 @@ export const ReactQueryDevtoolsPanel = React.forwardRef< width: '100%', }} /> - {!filter ? ( - <> - - - - - ) : null} + + +