From 1663e88755b761df3f7924d9c2a3b02308d82c7c Mon Sep 17 00:00:00 2001 From: DvoraShechter1 Date: Mon, 28 Oct 2024 16:10:01 +0200 Subject: [PATCH] Refinement complete. Code requires cleanup Signed-off-by: DvoraShechter1 --- .../MultiselectFilterControl.tsx | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/client/src/app/components/FilterToolbar/MultiselectFilterControl.tsx b/client/src/app/components/FilterToolbar/MultiselectFilterControl.tsx index ecd482669..af97a3a5f 100644 --- a/client/src/app/components/FilterToolbar/MultiselectFilterControl.tsx +++ b/client/src/app/components/FilterToolbar/MultiselectFilterControl.tsx @@ -270,6 +270,50 @@ export const MultiselectFilterControl = ({ isOpen={isFilterDropdownOpen} > {groups && groups.length > 0 && ( + // + // {groups.map((groupLabel) => ( + // + // + // {groupLabel} + // + + // {filteredOptions + // .filter((option) => option.groupLabel === groupLabel) + // .map(({ label, value, optionProps = {} }, index) => ( + // + // {label ?? value} + // + // ))} + // + // ))} + + // {filteredOptions.length === 0 && ( + // + // {`No results found for "${inputValue}"`} + // + // )} + // + {groups.map((groupLabel) => (