mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 05:05:15 +08:00
FIX: calendar options part 2 (#26371)
This part of the commit has been mistakenly forgotten from bddc41b7ad
This commit is contained in:
parent
bddc41b7ad
commit
58990fb00f
|
@ -101,7 +101,13 @@ function _displayModal(title, dates, options = {}) {
|
||||||
const modal = getOwnerWithFallback(this).lookup("service:modal");
|
const modal = getOwnerWithFallback(this).lookup("service:modal");
|
||||||
modal.show(downloadCalendarModal, {
|
modal.show(downloadCalendarModal, {
|
||||||
model: {
|
model: {
|
||||||
calendar: { title, dates, recurrenceRule: options.recurrenceRule },
|
calendar: {
|
||||||
|
title,
|
||||||
|
dates,
|
||||||
|
recurrenceRule: options.recurrenceRule,
|
||||||
|
location: options.location,
|
||||||
|
details: options.details,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user