openatc-components 0.2.23 → 0.2.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -70,7 +70,7 @@ export default {
70
70
  },
71
71
  cycleChange: {
72
72
  type: Boolean,
73
- default: true
73
+ default: false
74
74
  },
75
75
  cycle: {
76
76
  type: Number
@@ -148,7 +148,7 @@ export default {
148
148
  let overlapData = overlap.map(item => {
149
149
  let findIndexs = []
150
150
  item.includedphases.forEach(i => {
151
- const findItems = stageList.filter(j => j.phases.includes(i))
151
+ const findItems = stageList.filter(j => (j.phases ? j.phases : j.stages).includes(i))
152
152
  if (findItems.length) findIndexs.push(...findItems.map(m => m.key))
153
153
  })
154
154
  findIndexs = Array.from(new Set(findIndexs))