diff --git a/webapp/frontend/src/components/common/ConceptPicker.vue b/webapp/frontend/src/components/common/ConceptPicker.vue index 4745fd5d..289f2eaa 100644 --- a/webapp/frontend/src/components/common/ConceptPicker.vue +++ b/webapp/frontend/src/components/common/ConceptPicker.vue @@ -32,7 +32,7 @@ export default { }, props: { restrict_concept_lookup: Boolean, - cui_filter: Array, + cui_filter: String, cdb_search_filter: Array, concept_db: Number, selection: String diff --git a/webapp/frontend/src/views/TrainAnnotations.vue b/webapp/frontend/src/views/TrainAnnotations.vue index 6fb7869c..cd16efbf 100644 --- a/webapp/frontend/src/views/TrainAnnotations.vue +++ b/webapp/frontend/src/views/TrainAnnotations.vue @@ -610,7 +610,7 @@ export default { }, addAnnotationComplete (addedAnnotationId) { this.conceptSynonymSelection = null - if (addedAnnotationId) {f + if (addedAnnotationId) { this.$http.get(`/api/annotated-entities/${addedAnnotationId}/`).then(resp => { let newEnt = resp.data newEnt.assignedValues = {}