File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ export default {
273273 if (typeof this .disabledDates .daysOfMonth !== ' undefined' && this .disabledDates .daysOfMonth .indexOf (this .utils .getDate (date)) !== - 1 ) {
274274 disabledDates = true
275275 }
276- if (typeof this .disabledDates .customPredictor === ' function' && this .disabledDates .customPredictor (date)) {
276+ if (typeof this .disabledDates .customPredictor === ' function' && this .disabledDates .customPredictor (date, ' day ' )) {
277277 disabledDates = true
278278 }
279279 return disabledDates
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ export default {
188188 }
189189 }
190190
191- if (typeof this .disabledDates .customPredictor === ' function' && this .disabledDates .customPredictor (date)) {
191+ if (typeof this .disabledDates .customPredictor === ' function' && this .disabledDates .customPredictor (date, ' month ' )) {
192192 disabledDates = true
193193 }
194194 return disabledDates
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ export default {
161161 }
162162 }
163163
164- if (typeof this .disabledDates .customPredictor === ' function' && this .disabledDates .customPredictor (date)) {
164+ if (typeof this .disabledDates .customPredictor === ' function' && this .disabledDates .customPredictor (date, ' year ' )) {
165165 disabledDates = true
166166 }
167167
You can’t perform that action at this time.
0 commit comments