diff --git a/src/Database.js b/src/Database.js index 16d23314af29627926505261cc7bc444c634a855..5b2daf50243efb5c3d4194ab4960ba36c2691f2e 100644 --- a/src/Database.js +++ b/src/Database.js @@ -375,7 +375,7 @@ module.exports = function (Y /* :any */) { } // notify parent, if it was instanciated as a custom type - if (t != null && opIsDeleted) { + if (t != null && !opIsDeleted) { yield* t._changed(transaction, Y.utils.copyObject(op)) } }