Skip to content

Commit

Permalink
Merge pull request #585 from Neurosoft-Web/patch-1
Browse files Browse the repository at this point in the history
Fixed typo in maxTimestamp computed
  • Loading branch information
antoniandre authored Sep 25, 2024
2 parents 9018e46 + 0a6cc5b commit 0c1abd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vue-cal/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,7 @@ export default {
maxTimestamp () {
let date = null
if (this.maxDate && typeof this.maxDate === 'string') date = this.utils.date.stringToDate(this.maxDate)
else if (this.maxDate && this.minDate instanceof Date) date = this.maxDate
else if (this.maxDate && this.maxDate instanceof Date) date = this.maxDate
return date ? date.getTime() : null
},
weekDays () {
Expand Down

0 comments on commit 0c1abd7

Please sign in to comment.