feat: Open collection calendar on start date

This commit is contained in:
Lars Lehmann
2025-01-23 21:56:19 +01:00
parent 69967b759f
commit 8fee537d8b

View File

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