Skip to content

A platform for community discussion. Free, open, simple.

FIX: calendar options part 2 (#26371)

Joffrey JAFFEUX58990fb00f62
diff --git a/app/assets/javascripts/discourse/app/lib/download-calendar.js b/app/assets/javascripts/discourse/app/lib/download-calendar.js
index a0c33add6e8..e98c0c0fd4f 100644
--- a/app/assets/javascripts/discourse/app/lib/download-calendar.js
+++ b/app/assets/javascripts/discourse/app/lib/download-calendar.js
@@ -101,7 +101,13 @@ function _displayModal(title, dates, options = {}) {
const modal = getOwnerWithFallback(this).lookup("service:modal");
modal.show(downloadCalendarModal, {
model: {
- calendar: { title, dates, recurrenceRule: options.recurrenceRule },
+ calendar: {
+ title,
+ dates,
+ recurrenceRule: options.recurrenceRule,
+ location: options.location,
+ details: options.details,
+ },
},
});
}