diff --git a/src/components/EditableChipList.vue b/src/components/EditableChipList.vue index 3411863a..59786107 100644 --- a/src/components/EditableChipList.vue +++ b/src/components/EditableChipList.vue @@ -26,7 +26,7 @@ const props = withDefaults( const itemsToRender = computed(() => props.items.map((item) => ({ key: item[props.itemKey] as string | number | symbol, - title: item[props.itemTitle], + title: item[props.itemTitle] as string | undefined, })) ); @@ -47,7 +47,11 @@ const itemsToRender = computed(() => @click="toggle" > - {{ title }} + + + diff --git a/src/components/SegmentGroupControls.vue b/src/components/SegmentGroupControls.vue index 8f1f0dd9..fd8604ef 100644 --- a/src/components/SegmentGroupControls.vue +++ b/src/components/SegmentGroupControls.vue @@ -48,7 +48,7 @@ const currentSegmentGroups = computed(() => { const paintStore = usePaintToolStore(); const currentSegmentGroupID = computed({ get: () => paintStore.activeSegmentGroupID, - set: (id) => paintStore.setActiveLabelmap(id), + set: (id) => paintStore.setActiveSegmentGroup(id), }); // clear selection if we delete the active segment group @@ -204,6 +204,11 @@ function openSaveDialog(id: string) { + +
No selected image
- {