diff --git a/frontend/components/tasks/sequenceLabeling/EntityEditor.vue b/frontend/components/tasks/sequenceLabeling/EntityEditor.vue index 0b78fe9f..092d45d5 100644 --- a/frontend/components/tasks/sequenceLabeling/EntityEditor.vue +++ b/frontend/components/tasks/sequenceLabeling/EntityEditor.vue @@ -162,6 +162,7 @@ export default Vue.extend({ if (this.selectedEntities.length === 2) { if (this.selectedLabel) { this.addRelation(this.selectedLabel.id) + this.cleanUp() } else { this.showRelationLabelMenu(e) }