This commit is contained in:
Luis Fernando Molina committed 2019-07-13 13:32:25 +02:00
1 parent d0d0802310
commit 589e2a594a
1 file changed
+6
+6
View File
@@ -749,6 +749,12 @@ function newStrategyPart () {
case 'Phase': {
let parent = thisObject.payload.parentNode
if (parent !== undefined) {
let granParent = parent.payload.parentNode
if (granParent !== undefined) {
if (granParent.type === 'Initial Definition') {
return label + ' #' + 0
}
}
for (let i = 0; i < parent.phases.length; i++) {
let phase = parent.phases[i]
if (phase.id === thisObject.payload.node.id) {