diff --git a/src/components/MemorySelect.vue b/src/components/MemorySelect.vue index 0527f37..c0e9deb 100644 --- a/src/components/MemorySelect.vue +++ b/src/components/MemorySelect.vue @@ -4,6 +4,11 @@ defineProps<{ }>() const selectedCollection = ref('episodic') +let showMeta = ref(false) +let selectedItem = ref('') +const showMetadata = (id: string) => { + selectedItem.value = selectedItem.value === id ? '' : id; +}