Browse Source

Enable to add relation if relation type is not selected

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

2
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)
}
}
},

1
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()
}

Loading…
Cancel
Save