From 1bf2635a344380c5d115eeafaf3e7e38a25b7dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Mon, 31 Oct 2022 12:06:32 +0000 Subject: [PATCH] fix(ui): migrate to downshift 7.x --- .../__snapshots__/index.test.tsx.snap | 26 +++++++------------ .../Components/NavBar/FilterInput/index.tsx | 6 +---- 2 files changed, 11 insertions(+), 21 deletions(-) diff --git a/ui/src/Components/NavBar/FilterInput/__snapshots__/index.test.tsx.snap b/ui/src/Components/NavBar/FilterInput/__snapshots__/index.test.tsx.snap index 1406eec56..5f182bbe1 100644 --- a/ui/src/Components/NavBar/FilterInput/__snapshots__/index.test.tsx.snap +++ b/ui/src/Components/NavBar/FilterInput/__snapshots__/index.test.tsx.snap @@ -8,13 +8,7 @@ exports[` matches snapshot with no filters 1`] = ` >
-
+
matches snapshot with no filters 1`] = `
@@ -181,21 +178,18 @@ exports[` matches snapshot with some filters 1`] = ` -
+
diff --git a/ui/src/Components/NavBar/FilterInput/index.tsx b/ui/src/Components/NavBar/FilterInput/index.tsx index 8775108fd..a19240f6b 100644 --- a/ui/src/Components/NavBar/FilterInput/index.tsx +++ b/ui/src/Components/NavBar/FilterInput/index.tsx @@ -66,7 +66,6 @@ const FilterInput: FC<{ isOpen, getMenuProps, getInputProps, - getComboboxProps, highlightedIndex, getItemProps, setInputValue, @@ -155,10 +154,7 @@ const FilterInput: FC<{ filter={filter} /> ))} -
+
{alertStore.filters.values.length ? null : (