aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionCalendarView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-09-11 10:37:03 -0400
committerbobzel <zzzman@gmail.com>2024-09-11 10:37:03 -0400
commit1ed378a79d545516a42121819d7049c20aecbc8c (patch)
treeb1f112b03b1dbf0c3b23ec7a019c7da06c1aed3f /src/client/views/collections/CollectionCalendarView.tsx
parent62eda6aa6af765526fd065dc271b9d53e2b28002 (diff)
parentd3817d1c03b68ab2c69ab5ccfb5e8d6943df8f25 (diff)
Merge branch 'master' into zach-starter
Diffstat (limited to 'src/client/views/collections/CollectionCalendarView.tsx')
-rw-r--r--src/client/views/collections/CollectionCalendarView.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionCalendarView.tsx b/src/client/views/collections/CollectionCalendarView.tsx
index 9eb16917b..0ea9f8ebc 100644
--- a/src/client/views/collections/CollectionCalendarView.tsx
+++ b/src/client/views/collections/CollectionCalendarView.tsx
@@ -38,8 +38,8 @@ export class CollectionCalendarView extends CollectionSubView() {
const aDateRangeStr = StrCast(DocListCast(calendarA.data).lastElement()?.date_range);
const bDateRangeStr = StrCast(DocListCast(calendarB.data).lastElement()?.date_range);
- const [aFromDate, aToDate] = dateRangeStrToDates(aDateRangeStr);
- const [bFromDate, bToDate] = dateRangeStrToDates(bDateRangeStr);
+ const { start: aFromDate, end: aToDate } = dateRangeStrToDates(aDateRangeStr);
+ const { start: bFromDate, end: bToDate } = dateRangeStrToDates(bDateRangeStr);
if (aFromDate > bFromDate) {
return -1; // a comes first
@@ -82,6 +82,7 @@ export class CollectionCalendarView extends CollectionSubView() {
isAnnotationOverlay={false}
// select={emptyFunction} What does this mean?
isAnyChildContentActive={returnTrue} // ??
+ dontCenter="y"
// childDocumentsActive={}
// whenChildContentsActiveChanged={}
childHideDecorationTitle={false}