Bug Fixing and missing stuff

This commit is contained in:
Luis Fernando Molina committed 2019-07-16 20:06:36 +02:00
1 parent 02c471c44b
commit 5206f41fb4
6 files changed
+35 -4

No files matched your search

@@ -206,6 +206,12 @@ function newNodeChildren () {
response.childIndex = response.childrenCount
}
}
if (parentNode.openExecution !== undefined) {
response.childrenCount++
if (parentNode.openExecution.id === childNode.id) {
response.childIndex = response.childrenCount
}
}
return response
}
@@ -234,6 +240,12 @@ function newNodeChildren () {
childrenCount: 0,
childIndex: undefined
}
if (parentNode.closeExecution !== undefined) {
response.childrenCount++
if (parentNode.closeExecution.id === childNode.id) {
response.childIndex = response.childrenCount
}
}
return response
}