|
|
|
@ -36,12 +36,11 @@ export const RemixUIGridCell = (props: RemixUIGridCellProps) => { |
|
|
|
|
const [pinned, setPinned] = useState<boolean>(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 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|