Skip to content

Commit

Permalink
Merge pull request gregschmit#167 from glaszig/patch-1
Browse files Browse the repository at this point in the history
repair `data-custom` options
  • Loading branch information
gregschmit authored Jan 27, 2024
2 parents a2ad1d0 + 56253c9 commit 5dd3177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/recurring_select_dialog.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ class RecurringSelectDialog {
// ========================= Change callbacks ===============================

freqChanged() {
if (isPlainObject(this.current_rule.hash)) { this.current_rule.hash = null; } // for custom values
if (!isPlainObject(this.current_rule.hash)) { this.current_rule.hash = null; } // for custom values

if (!this.current_rule.hash) { this.current_rule.hash = {} };
this.current_rule.hash.interval = 1;
Expand Down

0 comments on commit 5dd3177

Please sign in to comment.