1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-02 19:55:18 +02:00

feat: Pass collection data to adventure, transportation, lodging, and checklist components

This commit is contained in:
Sean Morley 2025-03-21 17:35:58 -04:00
parent 6eebd5b70a
commit a3cd940065

View file

@ -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}