diff --git a/FloatingSpace/StrategyPart.js b/FloatingSpace/StrategyPart.js index 9bb28fdac..d3c8724b2 100644 --- a/FloatingSpace/StrategyPart.js +++ b/FloatingSpace/StrategyPart.js @@ -518,7 +518,7 @@ function newStrategyPart () { } function addIndexNumber (label) { - switch (thisObject.type) { + switch (thisObject.payload.node.type) { case 'Phase': { let parent = thisObject.payload.parentNode for (let i = 0; i < parent.phases.length; i++) { @@ -601,3 +601,4 @@ function newStrategyPart () { } } } +