From a3cd94006534b965b14d2043392e96ba6e74db73 Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Fri, 21 Mar 2025 17:35:58 -0400 Subject: [PATCH] feat: Pass collection data to adventure, transportation, lodging, and checklist components --- 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 2578384..351aabd 100644 --- a/frontend/src/routes/collections/[id]/+page.svelte +++ b/frontend/src/routes/collections/[id]/+page.svelte @@ -998,6 +998,7 @@ on:edit={editAdventure} on:delete={deleteAdventure} {adventure} + {collection} /> {/each} {/if} @@ -1013,6 +1014,7 @@ transportationToEdit = event.detail; isShowingTransportationModal = true; }} + {collection} /> {/each} {/if} @@ -1028,6 +1030,7 @@ on:delete={(event) => { notes = notes.filter((n) => n.id != event.detail); }} + {collection} /> {/each} {/if} @@ -1040,6 +1043,7 @@ lodging = lodging.filter((t) => t.id != event.detail); }} on:edit={editLodging} + {collection} /> {/each} {/if} @@ -1055,6 +1059,7 @@ checklistToEdit = event.detail; isShowingChecklistModal = true; }} + {collection} /> {/each} {/if}