Bug Fixed : No more than one phase at Initial Definition
This commit is contained in:
1 parent
f8319dff6d
commit
1b6e4a5daf
1 file changed
+5
@@ -504,6 +504,11 @@ function newPartsFromNodes () {
|
||||
}
|
||||
let phaseParent = parentNode
|
||||
let m = phaseParent.phases.length
|
||||
|
||||
if (phaseParent.payload.parentNode !== undefined) {
|
||||
if (phaseParent.payload.parentNode.type === 'Initial Definition' && m > 0) { return }
|
||||
}
|
||||
|
||||
let phase = {
|
||||
name: 'New Phase',
|
||||
formula: {
|
||||
|
||||
Reference in new issue
Block a user