diff options
author | bobzel <zzzman@gmail.com> | 2025-04-23 22:02:36 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-04-23 22:02:36 -0400 |
commit | 78ac87b8acf63079071e5e8805692ed8c30042ce (patch) | |
tree | b8e0cc310733b8651b7c8e020fa3e258d0f460a6 /src/client/util/CalendarManager.tsx | |
parent | 9a46e81d662e59413a076b2e0041d1455bc15294 (diff) |
lots of typechecking fixes.
Diffstat (limited to 'src/client/util/CalendarManager.tsx')
-rw-r--r-- | src/client/util/CalendarManager.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/CalendarManager.tsx b/src/client/util/CalendarManager.tsx index 4e321a893..b50e39c02 100644 --- a/src/client/util/CalendarManager.tsx +++ b/src/client/util/CalendarManager.tsx @@ -162,7 +162,7 @@ export class CalendarManager extends ObservableReactComponent<object> { console.log('my calendars: ', Doc.MyCalendars); if (this.creationType === 'new-calendar') { - Doc.AddDocToList(Doc.MyCalendars, 'data', calendar); // add to new calendar to dashboard calendars + Doc.MyCalendars && Doc.AddDocToList(Doc.MyCalendars, 'data', calendar); // add to new calendar to dashboard calendars } } }; |