diff --git a/arches_lingo/src/arches_lingo/components/generic/LabelEditor.vue b/arches_lingo/src/arches_lingo/components/generic/LabelEditor.vue index 81b8df91..bc03c9cd 100644 --- a/arches_lingo/src/arches_lingo/components/generic/LabelEditor.vue +++ b/arches_lingo/src/arches_lingo/components/generic/LabelEditor.vue @@ -203,7 +203,10 @@ onMounted(async () => { @@ -211,7 +214,9 @@ onMounted(async () => { diff --git a/arches_lingo/src/arches_lingo/components/generic/reference-datatype/ReferenceDatatypeEditor.vue b/arches_lingo/src/arches_lingo/components/generic/reference-datatype/ReferenceDatatypeEditor.vue index dce2a87a..b75ca386 100644 --- a/arches_lingo/src/arches_lingo/components/generic/reference-datatype/ReferenceDatatypeEditor.vue +++ b/arches_lingo/src/arches_lingo/components/generic/reference-datatype/ReferenceDatatypeEditor.vue @@ -44,7 +44,7 @@ const val = computed({ function extractURI(item: ControlledListItem[]): string | string[] { if (item && !props.multiValue) { - return item[0].uri; + return item[0]?.uri; } else if (item && props.multiValue) { return item.map((item) => item.uri); } else {