Merge pull request #2708 from James-Laidlaw/patch-4
Made month-chage event consistentpull/2727/head
commit
f332d97e1a
|
@ -664,7 +664,7 @@ export default {
|
||||||
this.currentMonth--;
|
this.currentMonth--;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$emit('month-change', {month: this.currentMonth, year: this.currentYear});
|
this.$emit('month-change', {month: this.currentMonth + 1, year: this.currentYear});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
navForward(event) {
|
navForward(event) {
|
||||||
|
@ -689,7 +689,7 @@ export default {
|
||||||
this.currentMonth++;
|
this.currentMonth++;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$emit('month-change', {month: this.currentMonth , year: this.currentYear});
|
this.$emit('month-change', {month: this.currentMonth + 1, year: this.currentYear});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
decrementYear() {
|
decrementYear() {
|
||||||
|
|
Loading…
Reference in New Issue