diff --git a/arches_lingo/src/arches_lingo/components/tree/ConceptTree.vue b/arches_lingo/src/arches_lingo/components/tree/ConceptTree.vue index f669d3b9..3b1fe00c 100644 --- a/arches_lingo/src/arches_lingo/components/tree/ConceptTree.vue +++ b/arches_lingo/src/arches_lingo/components/tree/ConceptTree.vue @@ -25,7 +25,11 @@ import TreeRow from "@/arches_lingo/components/tree/TreeRow.vue"; import type { ComponentPublicInstance, Ref } from "vue"; import type { RouteLocationNormalizedLoadedGeneric } from "vue-router"; -import type { TreeExpandedKeys, TreeSelectionKeys } from "primevue/tree"; +import type { + TreePassThroughMethodOptions, + TreeExpandedKeys, + TreeSelectionKeys, +} from "primevue/tree"; import type { TreeNode } from "primevue/treenode"; import type { Language } from "@/arches_vue_utils/types"; import type { @@ -264,6 +268,9 @@ await initializeTree(); style: { top: '30%' }, }, }, + nodeIcon: ({ instance }: TreePassThroughMethodOptions) => { + return { ariaLabel: instance.node.iconLabel }; + }, nodeLabel: { style: { textWrap: 'nowrap' }, },