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));