Skip to content

Commit

Permalink
Merge pull request #106 from joffreyBerrier/hotfix/call-always-render…
Browse files Browse the repository at this point in the history
…-next-month

fix(renderNextMonth): called render next month always
  • Loading branch information
joffreyBerrier authored May 30, 2022
2 parents 6c734ec + 31ca807 commit a28b292
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Release 1.1.1
# Release 1.1.8

### Breacking change on latest version

https://github.com/joffreyBerrier/vue-hotel-datepicker/releases/tag/1.0.9
https://github.com/joffreyBerrier/vue-hotel-datepicker/releases/tag/1.1.8

# vue-hotel-datepicker@2

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-hotel-datepicker2",
"version": "1.1.7",
"version": "1.1.8",
"author": "Joffrey Berrier - Origin created by krystalcampioni",
"description": "Vue date range picker component fork of vue-hotel-datepicker create by krystalcampioni",
"main": "dist/vueHotelDatepicker2.common.js",
Expand Down
4 changes: 2 additions & 2 deletions src/components/DatePicker/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1535,6 +1535,8 @@ export default {
}
},
renderNextMonth() {
this.$emit("renderNextMonth");
const countOfDesktopMonth = this.isDesktop
? this.countOfDesktopMonth
: this.countOfMobileMonth;
Expand Down Expand Up @@ -1568,8 +1570,6 @@ export default {
this.createMonth(this.getNextMonth(firstDayOfLastMonth.date));
this.activeMonthIndex++;
this.$emit("renderNextMonth");
},
setCheckIn(date) {
this.checkIn = date;
Expand Down

0 comments on commit a28b292

Please sign in to comment.