From 474020a638bba55dc6e85c36e8cce4f2a5d59ff8 Mon Sep 17 00:00:00 2001 From: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com> Date: Tue, 29 Oct 2024 12:23:08 +0100 Subject: [PATCH] Fix Pamel filter alignment and checkboxes ids --- .../FilterPanel/CheckboxFilterControl.tsx | 2 +- .../components/FilterPanel/FilterPanel.tsx | 32 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/client/src/app/components/FilterPanel/CheckboxFilterControl.tsx b/client/src/app/components/FilterPanel/CheckboxFilterControl.tsx index 4570c3c5..e9fcdead 100644 --- a/client/src/app/components/FilterPanel/CheckboxFilterControl.tsx +++ b/client/src/app/components/FilterPanel/CheckboxFilterControl.tsx @@ -59,7 +59,7 @@ export const CheckboxFilterControl = ({ return ( { filterCategories: FilterCategory[]; @@ -60,18 +60,18 @@ export const FilterPanel = ({ Clear all filters - - {filterCategories - .filter((filterCategory) => { - return ( - omitFilterCategoryKeys.find( - (categoryKey) => categoryKey === filterCategory.categoryKey - ) === undefined - ); - }) - .map((category) => { - return ( - + {filterCategories + .filter((filterCategory) => { + return ( + omitFilterCategoryKeys.find( + (categoryKey) => categoryKey === filterCategory.categoryKey + ) === undefined + ); + }) + .map((category) => { + return ( + + {category.title} @@ -89,9 +89,9 @@ export const FilterPanel = ({ /> - ); - })} - + + ); + })} );