From 446208610cdab7ca3d0d71ec75cdf94e6d5d57b2 Mon Sep 17 00:00:00 2001 From: Aaron Gundel Date: Mon, 23 Dec 2024 16:58:41 -0700 Subject: [PATCH] fix pathing, various issues --- .../arches_lingo/components/generic/ControlledListItem.vue | 6 +++--- .../src/arches_lingo/components/generic/LabelViewer.vue | 2 +- .../arches_lingo/components/generic/NonLocalizedString.vue | 6 +++--- .../components/generic/ResourceInstanceRelationships.vue | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arches_lingo/src/arches_lingo/components/generic/ControlledListItem.vue b/arches_lingo/src/arches_lingo/components/generic/ControlledListItem.vue index 695c039..2dc6426 100644 --- a/arches_lingo/src/arches_lingo/components/generic/ControlledListItem.vue +++ b/arches_lingo/src/arches_lingo/components/generic/ControlledListItem.vue @@ -3,12 +3,12 @@ import type { ControlledListItem, DataComponentMode, } from "@/arches_lingo/types"; -import ControlledListItemViewer from "@/arches_lingo/components/generic/ControlledListItemViewer.vue"; +import ControlledListItemViewer from "@/arches_lingo/components/generic/controlled-list-item/ControlledListItemViewer.vue"; import { EDIT, VIEW } from "@/arches_lingo/constants.ts"; -const { mode = EDIT } = defineProps<{ +const { mode = VIEW } = defineProps<{ mode?: DataComponentMode; - value?: ControlledListItem; + value?: ControlledListItem | ControlledListItem[]; }>(); defineEmits(["update"]); diff --git a/arches_lingo/src/arches_lingo/components/generic/LabelViewer.vue b/arches_lingo/src/arches_lingo/components/generic/LabelViewer.vue index 20a3d38..ae30490 100644 --- a/arches_lingo/src/arches_lingo/components/generic/LabelViewer.vue +++ b/arches_lingo/src/arches_lingo/components/generic/LabelViewer.vue @@ -7,7 +7,7 @@ import Button from "primevue/button"; import ConfirmDialog from "primevue/confirmdialog"; import { useConfirm } from "primevue/useconfirm"; -import ControlledListItem from "@/arches_lingo/components/generic/ControlledListItemViewer.vue"; +import ControlledListItem from "@/arches_lingo/components/generic/ControlledListItem.vue"; import ResourceInstanceRelationships from "@/arches_lingo/components/generic/ResourceInstanceRelationships.vue"; import type { AppellativeStatus } from "@/arches_lingo/types"; diff --git a/arches_lingo/src/arches_lingo/components/generic/NonLocalizedString.vue b/arches_lingo/src/arches_lingo/components/generic/NonLocalizedString.vue index cf2ae83..0f665e1 100644 --- a/arches_lingo/src/arches_lingo/components/generic/NonLocalizedString.vue +++ b/arches_lingo/src/arches_lingo/components/generic/NonLocalizedString.vue @@ -1,10 +1,10 @@