openatc-components 0.5.23 → 0.5.26

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.
@@ -474,6 +474,7 @@ export default {
474
474
  },
475
475
  methods: {
476
476
  cellClick (itemId) {
477
+ if (this.controlData || this.controlPhase) return
477
478
  for (const key in this.controlStates) {
478
479
  if (key !== itemId) {
479
480
  this.$set(this.controlStates, key, false)
@@ -535,7 +536,7 @@ export default {
535
536
  })
536
537
  })
537
538
  // this.handleCurrentChange(this.patternStatusList)
538
- this.$emit('handleSplitMove', this.patternId)
539
+ this.$emit('handleSplitMove', this.patternId, this.agentId)
539
540
  },
540
541
  getPedDirection (data) {
541
542
  let ped = []