Skip to content

Commit

Permalink
fix: display range problem (#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
rayhomie authored Jan 16, 2025
1 parent 1bd7fb9 commit 4e7a329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Calendar/helper.sjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function isDisplay(index, items) {
return true;
return (
index >= Math.floor(_items_reduce.minIndex / 7) * 7 &&
index < Math.ceil(_items_reduce.maxIndex / 7) * 7
index <= Math.ceil(_items_reduce.maxIndex / 7) * 7
);
}

Expand Down

0 comments on commit 4e7a329

Please sign in to comment.