openatc-components 0.3.20 → 0.3.21

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.
@@ -148,11 +148,7 @@ export default {
148
148
  let list = []
149
149
  if (this.crossStatusData && this.crossStatusData.stages && this.phaseList && this.phaseList.length > 0) {
150
150
  let ringDataModel = new RingDataModel(this.crossStatusData, this.phaseList)
151
- if (this.showDataType === 'phase') {
152
- list = ringDataModel.getStageData('phase')
153
- } else {
154
- list = ringDataModel.getStageData()
155
- }
151
+ list = ringDataModel.getPhaseLegendData()
156
152
  if (this.isShowCurrentStage) {
157
153
  this.currentStage = this.crossStatusData.current_stage
158
154
  }