Fix owner tree for legacy backend

This commit is contained in:
Dan
2019-06-12 17:56:25 +01:00
parent 2e40cc4b18
commit 4bfabbc32b
+3 -1
View File
@@ -586,7 +586,9 @@ export function attach(
id: getID(owner),
type: getElementType(owner),
});
owner = owner.owner;
if (owner._currentElement) {
owner = owner._currentElement._owner;
}
}
}
}