mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-28 01:09:37 +02:00
feat: Add attachments array to recommendation object and update options with collection start date
This commit is contained in:
parent
8fef53fd24
commit
abaee8c9c4
1 changed files with 3 additions and 1 deletions
|
@ -166,6 +166,7 @@
|
||||||
) + 1;
|
) + 1;
|
||||||
|
|
||||||
// Update `options.evdateents` when `collection.start_date` changes
|
// Update `options.evdateents` when `collection.start_date` changes
|
||||||
|
// @ts-ignore
|
||||||
options = { ...options, date: collection.start_date };
|
options = { ...options, date: collection.start_date };
|
||||||
}
|
}
|
||||||
if (collection.transportations) {
|
if (collection.transportations) {
|
||||||
|
@ -232,7 +233,8 @@
|
||||||
id: '',
|
id: '',
|
||||||
name: recomendation.tag,
|
name: recomendation.tag,
|
||||||
user_id: ''
|
user_id: ''
|
||||||
}
|
},
|
||||||
|
attachments: []
|
||||||
};
|
};
|
||||||
isAdventureModalOpen = true;
|
isAdventureModalOpen = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue