Skip to content

Commit

Permalink
fix: いらなくなったイベントを削除するように
Browse files Browse the repository at this point in the history
  • Loading branch information
mathsuky committed Oct 28, 2024
1 parent 333debd commit 76db507
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/Calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export default class CalendarPage extends Vue {
async fetchMonthlyEvents(newDate) {
this.status = 'loading'
this.events = []
const startDate = new Date(newDate.getFullYear(), newDate.getMonth(), 1)
const endDate = new Date(newDate.getFullYear(), newDate.getMonth() + 1, 0)
try {
Expand Down

0 comments on commit 76db507

Please sign in to comment.