@ -195,7 +195,7 @@ export default {
},
selectRectangle(rectangleId) {
console.log("selectRectangle", rectangleId)
console.log('selectRectangle', rectangleId)
if (rectangleId) {
this.selectedRectangle = this.rectangles.find((r) => r.id === rectangleId)
this.selectedLabelIndex = this.labels.findIndex(
@ -189,7 +189,7 @@ export default {
selectRegion(regionId) {
console.log("selectRegion", regionId)
console.log('selectRegion', regionId)
if (regionId) {
this.selectedPolygon = this.polygons.find((r) => r.id === regionId)
this.selectedLabelIndex = this.labels.findIndex((l) => l.id === this.selectedPolygon.label)