From 58990fb00f62a205d73f9f02c06b8688f0540574 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Tue, 26 Mar 2024 15:19:02 +0100 Subject: [PATCH] FIX: calendar options part 2 (#26371) This part of the commit has been mistakenly forgotten from https://github.com/discourse/discourse/commit/bddc41b7adda5879df93a0e0f8f6cafa2d4b40f5 --- .../javascripts/discourse/app/lib/download-calendar.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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, + }, }, }); }