openatc-components 0.5.4 → 0.5.5
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.
|
@@ -571,7 +571,7 @@ export default {
|
|
|
571
571
|
let currPhase = this.phaseList.filter((item) => {
|
|
572
572
|
return item.Index === stg
|
|
573
573
|
})[0]
|
|
574
|
-
if (currPhase !== undefined) {
|
|
574
|
+
if (currPhase !== undefined && currPhase.direction) {
|
|
575
575
|
directionList.push(...currPhase.direction)
|
|
576
576
|
directionList = Array.from(new Set(directionList))
|
|
577
577
|
}
|