Răsfoiți Sursa

Merge branch 'master' of https://github.com/shudas/fullcalendar

Adam Shaw 4 ani în urmă
părinte
comite
a393af9bfd
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      packages/google-calendar/src/main.ts

+ 1 - 0
packages/google-calendar/src/main.ts

@@ -155,6 +155,7 @@ function gcalItemToRawEventDef(item, gcalTimezone) {
 
 
   return {
   return {
     id: item.id,
     id: item.id,
+    attachments: item.attachments || [],
     title: item.summary,
     title: item.summary,
     start: item.start.dateTime || item.start.date, // try timed. will fall back to all-day
     start: item.start.dateTime || item.start.date, // try timed. will fall back to all-day
     end: item.end.dateTime || item.end.date, // same
     end: item.end.dateTime || item.end.date, // same