Month View shows a redundant week on the calendar
parent
cb1ebca82d
commit
9c95b917de
|
@ -1579,8 +1579,10 @@ export default {
|
|||
let dayNo = 1;
|
||||
let today = new Date();
|
||||
let weekNumbers = [];
|
||||
let monthRows = Math.ceil((daysLength + firstDay) / 7);
|
||||
|
||||
|
||||
for (let i = 0; i < 6; i++) {
|
||||
for (let i = 0; i < monthRows; i++) {
|
||||
let week = [];
|
||||
|
||||
if (i == 0) {
|
||||
|
|
Loading…
Reference in New Issue