dce-reactkit 3.2.2-beta.27 → 3.2.2-beta.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.2.2-beta.27",
3
+ "version": "3.2.2-beta.29",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -1637,13 +1637,18 @@ const LogReviewer: React.FC<Props> = (props) => {
1637
1637
  contextFilterState[log.context] === false
1638
1638
  // None of the subcontexts are selected
1639
1639
  || (
1640
- Object.values(contextFilterState[log.context] ?? {})
1640
+ // Has subcontexts
1641
+ typeof contextFilterState[log.context] !== 'boolean'
1642
+ // None of the subcontexts are selected
1643
+ && Object.values(contextFilterState[log.context] ?? {})
1641
1644
  .every((isSelected) => {
1642
1645
  return !isSelected;
1643
1646
  })
1644
1647
  )
1645
1648
  ) {
1649
+ // TODO: figure out why context filter is still not working, why actions and targets filter UI sucks and doesn't wrap and doesn't select
1646
1650
  console.log('RULED OUT: CONTEXT');
1651
+ console.log(log.context, contextFilterState);
1647
1652
  return;
1648
1653
  }
1649
1654