diff --git a/public/js/components/Calendar/Calendar.js b/public/js/components/Calendar/Calendar.js index 92b1cf999..ab7dac2b3 100644 --- a/public/js/components/Calendar/Calendar.js +++ b/public/js/components/Calendar/Calendar.js @@ -202,7 +202,7 @@ export default { }, }, methods: { - handleChangeOffset(offset){ + handleRangeOffset(event){ let date = new Date( this.focusDate.y, @@ -222,7 +222,9 @@ export default { focus_date: date, lv_id: this.$route.params.lv_id || null } - }) + }); + + this.$emit('change:range',event); }, setMode(mode) { this.mode = mode @@ -274,8 +276,8 @@ export default { }, template: /*html*/`