From 4873ba02a9b9b2692cb89ea9cc914194eebaf481 Mon Sep 17 00:00:00 2001 From: maciejpedzich Date: Wed, 27 Sep 2023 02:54:42 +0200 Subject: [PATCH] Ensure registry gets populated client-side --- pages/index.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/index.vue b/pages/index.vue index f365cfc..3539fd5 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -69,13 +69,15 @@ const performSearch = async () => { } }; -const goToSnapshotCalendar = async ({ +const openSnapshotCalendar = async ({ value: playlist }: { value: RegistryEntry; }) => { await navigateTo(`/playlists/${playlist.id}`); }; + +watch(playlistRegistry, (loadedEntries) => fuzzySearcher.add(...loadedEntries));