From 9b34ed65ceef788ecdc21149eb0dc2ecfed03df5 Mon Sep 17 00:00:00 2001 From: tschumpr Date: Mon, 22 Jul 2024 09:14:18 +0200 Subject: [PATCH] Fix test --- src/client/src/commons/search/editor/FilterChips.tsx | 2 +- .../src/commons/search/editor/filterComponent.jsx | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/client/src/commons/search/editor/FilterChips.tsx b/src/client/src/commons/search/editor/FilterChips.tsx index 22cd88c5a..8b0402553 100644 --- a/src/client/src/commons/search/editor/FilterChips.tsx +++ b/src/client/src/commons/search/editor/FilterChips.tsx @@ -22,7 +22,7 @@ const FilterChips = ({ activeFilters, setFilter }: FilterChipsProps) => { }; return ( - + 0 ? "14px" : undefined }}> {activeFilters.map((filter, index) => { const filterLabel = filter.key === "role" ? t("status") : t(filter.key); return ( diff --git a/src/client/src/commons/search/editor/filterComponent.jsx b/src/client/src/commons/search/editor/filterComponent.jsx index a062095c8..6ac4a893c 100644 --- a/src/client/src/commons/search/editor/filterComponent.jsx +++ b/src/client/src/commons/search/editor/filterComponent.jsx @@ -185,13 +185,11 @@ class FilterComponent extends React.Component { return ( - {this.state.activeFilters.length > 0 && ( - - )} +