dce-reactkit 3.2.2-beta.28 → 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 +2 -0
package/dist/esm/index.js
CHANGED
|
@@ -3450,11 +3450,17 @@ const LogReviewer = (props) => {
|
|
|
3450
3450
|
// Whole context is deselected
|
|
3451
3451
|
contextFilterState[log.context] === false
|
|
3452
3452
|
// None of the subcontexts are selected
|
|
3453
|
-
|| (
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3453
|
+
|| (
|
|
3454
|
+
// Has subcontexts
|
|
3455
|
+
typeof contextFilterState[log.context] !== 'boolean'
|
|
3456
|
+
// None of the subcontexts are selected
|
|
3457
|
+
&& Object.values((_a = contextFilterState[log.context]) !== null && _a !== void 0 ? _a : {})
|
|
3458
|
+
.every((isSelected) => {
|
|
3459
|
+
return !isSelected;
|
|
3460
|
+
}))) {
|
|
3461
|
+
// 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
|
|
3457
3462
|
console.log('RULED OUT: CONTEXT');
|
|
3463
|
+
console.log(log.context, contextFilterState);
|
|
3458
3464
|
return;
|
|
3459
3465
|
}
|
|
3460
3466
|
// Subcontext doesn't match
|