From 11c2b840ad1445bec2a2a3dd54bda604f84338e7 Mon Sep 17 00:00:00 2001 From: Colin Stevens Date: Wed, 29 Mar 2023 12:48:39 -0400 Subject: [PATCH] 3811 Add year-change emit when nav Next or Prev --- components/lib/calendar/Calendar.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index f07f0f2ac..860088ee1 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -899,6 +899,7 @@ export default { if (this.currentView === 'month') { this.decrementYear(); + this.$emit('year-change', { month: this.currentMonth, year: this.currentYear }) } else if (this.currentView === 'year') { this.decrementDecade(); } else { @@ -925,6 +926,7 @@ export default { if (this.currentView === 'month') { this.incrementYear(); + this.$emit('year-change', { month: this.currentMonth, year: this.currentYear }) } else if (this.currentView === 'year') { this.incrementDecade(); } else {