mirror of
https://github.com/tenrok/vue-ganttastic.git
synced 2026-06-19 23:10:33 +03:00
fix: one day dismissed on month_days mode
This commit is contained in:
@@ -107,7 +107,7 @@ export default {
|
||||
: start.daysInMonth() - start.date() + 1
|
||||
let widthPercentage = (dayCountOfMonth / this.childPointCount) * 100
|
||||
let endDay =
|
||||
start.month() === end.month() ? end.date() : end.daysInMonth()
|
||||
start.month() === end.month() ? end.date() : start.daysInMonth()
|
||||
this.axisPoints.push(
|
||||
this.getAxisMonthObject(start, widthPercentage, endDay)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user