Skip to content

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

FIX: recurrence was not applied when selected in the form (#6820)

Joffrey JAFFEUX523e0248e183
diff --git a/plugins/discourse-local-dates/assets/javascripts/discourse/components/discourse-local-dates-create-form.js.es6 b/plugins/discourse-local-dates/assets/javascripts/discourse/components/discourse-local-dates-create-form.js.es6
index fb59ae304e1..3379de26341 100644
--- a/plugins/discourse-local-dates/assets/javascripts/discourse/components/discourse-local-dates-create-form.js.es6
+++ b/plugins/discourse-local-dates/assets/javascripts/discourse/components/discourse-local-dates-create-form.js.es6
@@ -137,6 +137,10 @@ export default Ember.Component.extend({
text += ` timezones="${config.timezones.join("|")}"`;
}
+ if (config.recurring) {
+ text += ` recurring="${config.recurring}"`;
+ }
+
text += `]`;
return text;