From 982711ade9578d36e307b8b6c7a892256820d248 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Fri, 25 Feb 2022 16:36:10 +0900 Subject: [PATCH] Add cleanup after adding a relation --- frontend/components/tasks/sequenceLabeling/EntityEditor.vue | 1 + 1 file changed, 1 insertion(+) 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) }