Skip to content

Commit

Permalink
nit #147
Browse files Browse the repository at this point in the history
  • Loading branch information
johnatawnclementawn authored and jacobtylerwalls committed Jan 17, 2025
1 parent 2edd1de commit adbfe4e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,15 +203,20 @@ onMounted(async () => {
<DateDatatype
:value="value?.appellative_status_timespan_begin_of_the_begin"
:mode="EDIT"
@update="onUpdate"
@update="
(val) =>
onUpdate('appellative_status_timespan_begin_of_the_begin', val)
"
/>

<!-- Label Temporal Validity End: date -->
<label for="">{{ $gettext("Label Temporal Validity End") }}</label>
<DateDatatype
:value="value?.appellative_status_timespan_end_of_the_end"
:mode="EDIT"
@update="onUpdate"
@update="
(val) => onUpdate('appellative_status_timespan_end_of_the_end', val)
"
/>

<!-- Contributor: resource instance -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit adbfe4e

Please sign in to comment.