From e093cd33e212560702087b3473c823b465c37140 Mon Sep 17 00:00:00 2001 From: Johnathan Clementi Date: Tue, 31 Dec 2024 15:29:20 -0500 Subject: [PATCH] Update uri ref for select component reactivity #147 --- .../components/generic/LabelViewer.vue | 2 +- .../components/generic/ReferenceDatatype.vue | 2 +- .../ReferenceDatatypeEditor.vue | 15 +++++++-------- .../components/scheme/report/SchemeLabel.vue | 2 +- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/arches_lingo/src/arches_lingo/components/generic/LabelViewer.vue b/arches_lingo/src/arches_lingo/components/generic/LabelViewer.vue index e72e6863..30bcd4da 100644 --- a/arches_lingo/src/arches_lingo/components/generic/LabelViewer.vue +++ b/arches_lingo/src/arches_lingo/components/generic/LabelViewer.vue @@ -8,7 +8,7 @@ import ConfirmDialog from "primevue/confirmdialog"; import { useConfirm } from "primevue/useconfirm"; import ReferenceDatatypeViewer from "@/arches_lingo/components/generic/reference-datatype/ReferenceDatatypeViewer.vue"; -import ResourceInstanceRelationshipsViewer from "@/arches_lingo/components/generic/resource-instance-relationships/ResourceInstanceRelationshipsViewer.vue"; +import ResourceInstanceRelationships from "@/arches_lingo/components/generic/resource-instance-relationships/ResourceInstanceRelationshipsViewer.vue"; import type { AppellativeStatus } from "@/arches_lingo/types"; diff --git a/arches_lingo/src/arches_lingo/components/generic/ReferenceDatatype.vue b/arches_lingo/src/arches_lingo/components/generic/ReferenceDatatype.vue index 9ed5350e..37ab76b3 100644 --- a/arches_lingo/src/arches_lingo/components/generic/ReferenceDatatype.vue +++ b/arches_lingo/src/arches_lingo/components/generic/ReferenceDatatype.vue @@ -15,7 +15,7 @@ defineProps<{ options?: ControlledListItem[]; }>(); const emits = defineEmits(["update"]); -const onUpdate = (val: ControlledListItem) => { +const onUpdate = (val: ControlledListItem[]) => { emits("update", val); }; 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 6a240ee9..2ad48a33 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 @@ -1,5 +1,5 @@