openatc-components 0.2.30 → 0.2.31

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.
@@ -76,14 +76,16 @@
76
76
  <el-table-column align="center" :label="$t('openatccomponents.pattern.plan')">
77
77
  <template slot-scope="scope">
78
78
  <div class="pattern-figure">
79
- <!-- <pattern-list
79
+ <pattern-list
80
+ v-if="getControlType(scope.row) === 'ring'"
80
81
  :patternStatusList="scope.row.rings"
81
82
  :cycles="scope.row.cycle"
82
83
  :phaseList="scope.row.currPhase"
83
- :contrloType="controlType"
84
+ :contrloType="getControlType(scope.row)"
84
85
  >
85
- </pattern-list> -->
86
+ </pattern-list>
86
87
  <pattern-list
88
+ v-else
87
89
  :patternId="scope.row.patternid"
88
90
  :contrloType="getControlType(scope.row)"
89
91
  :index="scope.$index"