We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ef4cd2 commit d1ccc25Copy full SHA for d1ccc25
src/object.js
@@ -10,11 +10,11 @@ const {
10
} = require('./utils');
11
12
const recursiveToPointer = value => {
13
+ if (_.isArray(value)) return value.map(recursiveToPointer);
14
if (_.isObject(value)) {
15
if (value._toPointer) return value._toPointer();
16
return _.mapObject(value, recursiveToPointer);
17
}
- if (_.isArray(value)) return value.map(recursiveToPointer);
18
return value;
19
};
20
@@ -516,6 +516,9 @@ module.exports = function(AV) {
516
517
});
518
this._rebuildAllEstimatedData();
519
+ const opSetQueue = this._opSetQueue.map(_.clone);
520
+ this._refreshCache();
521
+ this._opSetQueue = opSetQueue;
522
this._saving = this._saving - 1;
523
},
524
0 commit comments