Bug fixes

This commit is contained in:
Luis Fernando Molina committed 2020-02-20 18:29:25 +01:00
1 parent 1883d3b173
commit c08f67f40d
3 files changed
+6 -2

No files matched your search

@@ -7,6 +7,7 @@ function newChainAttachDetach () {
return thisObject
function chainDetachNode (node, rootNodes) {
if (node.payload.parentNode === undefined) { return }
switch (node.type) {
case 'Phase': {
let payload = node.payload
@@ -20,5 +20,8 @@ function newReferenceAttachDetach () {
function completeDetachment (node) {
node.payload.referenceParent = undefined
if (node.savedPayload !== undefined) {
node.savedPayload.referenceParent = undefined
}
}
}