dataflux 1.10.3 → 1.10.4
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/ObserverStore.js
CHANGED
|
@@ -193,9 +193,12 @@ var ObserverStore = /*#__PURE__*/function (_PersistentStore) {
|
|
|
193
193
|
_this._subscribed[type][id] = _this._subscribed[type][id].filter(function (i) {
|
|
194
194
|
return i.subKey !== key;
|
|
195
195
|
});
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
|
|
197
|
+
if (_this._subscribed[type]["*"]) {
|
|
198
|
+
_this._subscribed[type]["*"] = _this._subscribed[type]["*"].filter(function (i) {
|
|
199
|
+
return i.subKey !== key;
|
|
200
|
+
});
|
|
201
|
+
}
|
|
199
202
|
|
|
200
203
|
if (_this._subscribed[type][id].length === 0) {
|
|
201
204
|
delete _this._subscribed[type][id];
|