From c9c00b5a083a32164da6acff2f0037b4ae1d5f4e Mon Sep 17 00:00:00 2001
From: Kevin Jahns <kevin.jahns@rwth-aachen.de>
Date: Fri, 11 Mar 2016 01:08:26 +0100
Subject: [PATCH] found bug: types are not called anymore

---
 src/Database.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Database.js b/src/Database.js
index 16d23314..5b2daf50 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))
         }
       }
-- 
GitLab