mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-26 00:09:38 +02:00
feat: Open collection calendar on start date
This commit is contained in:
parent
69967b759f
commit
8fee537d8b
1 changed files with 3 additions and 0 deletions
|
@ -164,6 +164,9 @@
|
|||
(new Date(collection.end_date).getTime() - new Date(collection.start_date).getTime()) /
|
||||
(1000 * 60 * 60 * 24)
|
||||
) + 1;
|
||||
|
||||
// Update `options.evdateents` when `collection.start_date` changes
|
||||
options = { ...options, date: collection.start_date };
|
||||
}
|
||||
if (collection.transportations) {
|
||||
transportations = collection.transportations;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue