From abaee8c9c4b78dc1abe3e4fcffbe0fefcb6ca98a Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Thu, 23 Jan 2025 17:48:55 -0500 Subject: [PATCH] feat: Add attachments array to recommendation object and update options with collection start date --- frontend/src/routes/collections/[id]/+page.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/routes/collections/[id]/+page.svelte b/frontend/src/routes/collections/[id]/+page.svelte index c9b4660..5e3a9c8 100644 --- a/frontend/src/routes/collections/[id]/+page.svelte +++ b/frontend/src/routes/collections/[id]/+page.svelte @@ -166,6 +166,7 @@ ) + 1; // Update `options.evdateents` when `collection.start_date` changes + // @ts-ignore options = { ...options, date: collection.start_date }; } if (collection.transportations) { @@ -232,7 +233,8 @@ id: '', name: recomendation.tag, user_id: '' - } + }, + attachments: [] }; isAdventureModalOpen = true; }