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/dist/cjs/index.js +10 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +10 -4
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/LogReviewer.tsx +6 -1
package/dist/cjs/index.js
CHANGED
|
@@ -3458,11 +3458,17 @@ const LogReviewer = (props) => {
|
|
|
3458
3458
|
// Whole context is deselected
|
|
3459
3459
|
contextFilterState[log.context] === false
|
|
3460
3460
|
// None of the subcontexts are selected
|
|
3461
|
-
|| (
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3461
|
+
|| (
|
|
3462
|
+
// Has subcontexts
|
|
3463
|
+
typeof contextFilterState[log.context] !== 'boolean'
|
|
3464
|
+
// None of the subcontexts are selected
|
|
3465
|
+
&& Object.values((_a = contextFilterState[log.context]) !== null && _a !== void 0 ? _a : {})
|
|
3466
|
+
.every((isSelected) => {
|
|
3467
|
+
return !isSelected;
|
|
3468
|
+
}))) {
|
|
3469
|
+
// 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
|
|
3465
3470
|
console.log('RULED OUT: CONTEXT');
|
|
3471
|
+
console.log(log.context, contextFilterState);
|
|
3466
3472
|
return;
|
|
3467
3473
|
}
|
|
3468
3474
|
// Subcontext doesn't match
|