Skip to content

Commit bd99d20

Browse files
authored
Merge branch 'master' into master
2 parents daefc51 + 6b89010 commit bd99d20

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/PickerMonth.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ export default {
181181
}
182182
if (typeof this.disabledDates.from !== 'undefined' && this.disabledDates.from) {
183183
if (
184-
(this.disabledDates.from &&
185-
this.utils.getMonth(date) > this.utils.getMonth(this.disabledDates.from) &&
186-
this.utils.getFullYear(date) >= this.utils.getFullYear(this.disabledDates.from)) ||
184+
(this.utils.getMonth(date) > this.utils.getMonth(this.disabledDates.from) && this.utils.getFullYear(date) >= this.utils.getFullYear(this.disabledDates.from)) ||
187185
this.utils.getFullYear(date) > this.utils.getFullYear(this.disabledDates.from)
188186
) {
189187
disabledDates = true

0 commit comments

Comments
 (0)