We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c011f8d commit c5f2038Copy full SHA for c5f2038
src/calendar/calendar.ts
@@ -179,8 +179,8 @@ export default class Calendar extends SuperComponent {
179
180
const preYearBtnDisable = _prevYearTimestamp < _minTimestamp || _prevMonthTimestamp < _minTimestamp;
181
const prevMonthBtnDisable = _prevMonthTimestamp < _minTimestamp;
182
- const nextYearBtnDisable = _nextMonthTimestamp >= _maxTimestamp || _nextYearTimestamp >= _maxTimestamp;
183
- const nextMonthBtnDisable = _nextMonthTimestamp >= _maxTimestamp;
+ const nextYearBtnDisable = _nextMonthTimestamp > _maxTimestamp || _nextYearTimestamp > _maxTimestamp;
+ const nextMonthBtnDisable = _nextMonthTimestamp > _maxTimestamp;
184
185
this.setData({
186
actionButtons: {
0 commit comments