diff --git a/src/iscs_new/map.js b/src/iscs_new/map.js index cc4aa3a2a..11174a8d7 100644 --- a/src/iscs_new/map.js +++ b/src/iscs_new/map.js @@ -187,10 +187,9 @@ class JMap { case orders.Update: oldShape = this.$shapeFactory.removeShape(curShape); newShape = this.$shapeFactory.createShape(updateModel, action.shapeType); - this.$painter.removeFromLayer(oldShape.type, oldShape.instanceHightLight); - this.$painter.removeFromLayer(oldShape.type, newShape.instanceHightLight); - this.$painter.remove(oldShape); this.$shapeFactory.addShape(newShape) + this.$painter.removeFromLayer(oldShape.type, oldShape.instanceHightLight); + this.$painter.remove(oldShape); this.$painter.add(newShape); break; case orders.Unbinding: diff --git a/src/views/iscs_new/components/tableForm.vue b/src/views/iscs_new/components/tableForm.vue index 234042b8c..ce9765272 100644 --- a/src/views/iscs_new/components/tableForm.vue +++ b/src/views/iscs_new/components/tableForm.vue @@ -93,6 +93,8 @@