1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-04 12:45:17 +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:edit={editAdventure}
on:delete={deleteAdventure} on:delete={deleteAdventure}
{adventure} {adventure}
{collection}
/> />
{/each} {/each}
{/if} {/if}
@ -1013,6 +1014,7 @@
transportationToEdit = event.detail; transportationToEdit = event.detail;
isShowingTransportationModal = true; isShowingTransportationModal = true;
}} }}
{collection}
/> />
{/each} {/each}
{/if} {/if}
@ -1028,6 +1030,7 @@
on:delete={(event) => { on:delete={(event) => {
notes = notes.filter((n) => n.id != event.detail); notes = notes.filter((n) => n.id != event.detail);
}} }}
{collection}
/> />
{/each} {/each}
{/if} {/if}
@ -1040,6 +1043,7 @@
lodging = lodging.filter((t) => t.id != event.detail); lodging = lodging.filter((t) => t.id != event.detail);
}} }}
on:edit={editLodging} on:edit={editLodging}
{collection}
/> />
{/each} {/each}
{/if} {/if}
@ -1055,6 +1059,7 @@
checklistToEdit = event.detail; checklistToEdit = event.detail;
isShowingChecklistModal = true; isShowingChecklistModal = true;
}} }}
{collection}
/> />
{/each} {/each}
{/if} {/if}