(js) Improve recurrence editor

This commit is contained in:
Francis Lachapelle
2017-03-23 14:01:28 -04:00
parent c57f42b44b
commit 4dcc1af46a
2 changed files with 3 additions and 2 deletions
@@ -265,7 +265,8 @@
}
function recurrenceMonthDaysAreRequired() {
return vm.component.repeat.frequency == 'monthly' &&
return vm.component &&
vm.component.repeat.frequency == 'monthly' &&
vm.component.repeat.month.type == 'bymonthday';
}