From 2f7638beacabf6a39c13210760cd20655d4e29fa Mon Sep 17 00:00:00 2001 From: lianahus Date: Tue, 23 Jul 2024 13:09:48 +0200 Subject: [PATCH] fixing filter for providers cleanup --- libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx b/libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx index 38d6e69268..ea998f9e98 100644 --- a/libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx +++ b/libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx @@ -36,12 +36,11 @@ export const RemixUIGridCell = (props: RemixUIGridCellProps) => { const [pinned, setPinned] = useState(props.pinned) useEffect(() => { - console.log("oopsik") let enabled = false // check for tags if (props.tagList && props.tagList.length != 0) { enabled = props.tagList.some((key) => filterCon.keyValueMap[key]?.enabled) - } else if (filterCon?.keyValueMap['no tag']?.enabled) { + } else if (filterCon?.keyValueMap['no tag']?.enabled || !Object.keys(filterCon?.keyValueMap).length) { enabled = true }