react-app-store-manager 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Store.js +1 -1
- package/package.json +1 -1
package/dist/Store.js
CHANGED
@@ -29,7 +29,7 @@ var Store = /** @class */ (function () {
|
|
29
29
|
if (!(0, isEqual_1.isEqual)(newValue, oldValue)) {
|
30
30
|
this.updateObjectAddressByString(objectPath, newValue);
|
31
31
|
this.__listeners.forEach(function (listener) {
|
32
|
-
if (objectPath.startsWith(listener.path)) {
|
32
|
+
if (objectPath.startsWith(listener.path) || listener.path.startsWith(objectPath)) {
|
33
33
|
listener.onUpdate();
|
34
34
|
}
|
35
35
|
});
|