@signaltree/core 8.0.1 → 8.0.2
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.
|
@@ -794,7 +794,7 @@ function devTools(config = {}) {
|
|
|
794
794
|
}
|
|
795
795
|
const stateActuallyChanged = lastSerializedJson === undefined || currentSerializedJson !== lastSerializedJson;
|
|
796
796
|
const pendingAllowedPaths = pendingPaths.filter(path => path && isPathAllowed(path));
|
|
797
|
-
if (!stateActuallyChanged && !pendingExplicitAction
|
|
797
|
+
if (!stateActuallyChanged && !pendingExplicitAction) {
|
|
798
798
|
pendingAction = null;
|
|
799
799
|
pendingExplicitAction = false;
|
|
800
800
|
pendingSource = undefined;
|
|
@@ -1160,7 +1160,6 @@ function devTools(config = {}) {
|
|
|
1160
1160
|
};
|
|
1161
1161
|
}
|
|
1162
1162
|
};
|
|
1163
|
-
const shouldFilterByOwnership = Boolean(aggregatedReduxInstance);
|
|
1164
1163
|
const treeTopKeys = new Set();
|
|
1165
1164
|
const refreshTreeTopKeys = () => {
|
|
1166
1165
|
treeTopKeys.clear();
|
|
@@ -1174,7 +1173,6 @@ function devTools(config = {}) {
|
|
|
1174
1173
|
};
|
|
1175
1174
|
refreshTreeTopKeys();
|
|
1176
1175
|
const isPathOwnedByTree = path => {
|
|
1177
|
-
if (!shouldFilterByOwnership) return true;
|
|
1178
1176
|
if (treeTopKeys.size === 0) return true;
|
|
1179
1177
|
const root = path.split('.')[0];
|
|
1180
1178
|
if (treeTopKeys.has(root)) return true;
|