From 6e1fbbfc3abfaade20ab518c47f5309aabf7aa56 Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Wed, 19 Mar 2025 13:49:46 -0400 Subject: [PATCH] feat: Pass collection prop to various card components in the collections page --- frontend/src/routes/collections/[id]/+page.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/routes/collections/[id]/+page.svelte b/frontend/src/routes/collections/[id]/+page.svelte index a63dbe5..56f613a 100644 --- a/frontend/src/routes/collections/[id]/+page.svelte +++ b/frontend/src/routes/collections/[id]/+page.svelte @@ -859,6 +859,7 @@ on:edit={editAdventure} on:delete={deleteAdventure} {adventure} + {collection} /> {/each} {/if} @@ -866,6 +867,7 @@ {#each dayTransportations as transportation} { transportations = transportations.filter((t) => t.id != event.detail); @@ -881,6 +883,7 @@ {#each dayNotes as note} { noteToEdit = event.detail; @@ -896,6 +899,7 @@ {#each dayLodging as hotel} { lodging = lodging.filter((t) => t.id != event.detail); @@ -908,6 +912,7 @@ {#each dayChecklists as checklist} { notes = notes.filter((n) => n.id != event.detail);