Skip to content

Commit

Permalink
fix(VCalendarCategory): always render at least one day body per day
Browse files Browse the repository at this point in the history
fixes #13155
  • Loading branch information
KaelWD committed Mar 6, 2021
1 parent efe7116 commit c90fda6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default VCalendarDaily.extend({
genDays (): VNode[] {
const days: VNode[] = []
this.days.forEach(d => {
const day = new Array(this.parsedCategories.length)
const day = new Array(this.parsedCategories.length || 1)
day.fill(d)
days.push(...day.map((v, i) => this.genDay(v, 0, i)))
})
Expand Down

0 comments on commit c90fda6

Please sign in to comment.