Browse Source

Add cleanup after adding a relation

pull/1703/head
Hironsan 2 years ago
parent
commit
982711ade9
1 changed files with 1 additions and 0 deletions
  1. 1
      frontend/components/tasks/sequenceLabeling/EntityEditor.vue

1
frontend/components/tasks/sequenceLabeling/EntityEditor.vue

@ -162,6 +162,7 @@ export default Vue.extend({
if (this.selectedEntities.length === 2) { if (this.selectedEntities.length === 2) {
if (this.selectedLabel) { if (this.selectedLabel) {
this.addRelation(this.selectedLabel.id) this.addRelation(this.selectedLabel.id)
this.cleanUp()
} else { } else {
this.showRelationLabelMenu(e) this.showRelationLabelMenu(e)
} }

Loading…
Cancel
Save