Skip to content

Commit

Permalink
Merge pull request #147 from ManukMinasyan/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ManukMinasyan authored Jan 10, 2022
2 parents 23ad5d3 + a93f968 commit 78c0ff8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/FunctionalCalendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1494,12 +1494,14 @@ export default {
let date = currentCalendar.date
currentCalendar.date = new Date(year, date.getMonth() + 1, 0)
currentCalendar.key += hUniqueID()
this.$emit('changedYear', currentCalendar.date)
})
} else {
let currentCalendar = this.listCalendars[calendarKey]
let date = currentCalendar.date
currentCalendar.date = new Date(year, date.getMonth() + 1, 0)
currentCalendar.key += hUniqueID()
this.$emit('changedYear', currentCalendar.date)
}
this.updateCalendar()
},
Expand Down

0 comments on commit 78c0ff8

Please sign in to comment.