From e3f2a211dd394c567ce6d04ea70f8694ca2021ba Mon Sep 17 00:00:00 2001 From: Hironsan Date: Fri, 25 Feb 2022 09:15:45 +0900 Subject: [PATCH] Enable to add relation if relation type is not selected --- frontend/components/tasks/sequenceLabeling/EntityEditor.vue | 2 +- frontend/components/tasks/sequenceLabeling/LabelingMenu.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/components/tasks/sequenceLabeling/EntityEditor.vue b/frontend/components/tasks/sequenceLabeling/EntityEditor.vue index 380257ad..69dffe39 100644 --- a/frontend/components/tasks/sequenceLabeling/EntityEditor.vue +++ b/frontend/components/tasks/sequenceLabeling/EntityEditor.vue @@ -159,7 +159,7 @@ export default Vue.extend({ if (this.selectedLabel) { this.addRelation(this.selectedLabel.id) } else { - // this.showEntityLabelMenu(e) + this.showRelationLabelMenu(e) } } }, diff --git a/frontend/components/tasks/sequenceLabeling/LabelingMenu.vue b/frontend/components/tasks/sequenceLabeling/LabelingMenu.vue index 2a009477..64c7ad7d 100644 --- a/frontend/components/tasks/sequenceLabeling/LabelingMenu.vue +++ b/frontend/components/tasks/sequenceLabeling/LabelingMenu.vue @@ -114,7 +114,6 @@ export default Vue.extend({ }, onLabelSelected(labelId: number) { - console.log(labelId) this.$emit('click:label', labelId) this.close() }