@progressive-development/pd-calendar 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/PdCalendar.js +2 -4
package/package.json
CHANGED
package/src/PdCalendar.js
CHANGED
|
@@ -471,16 +471,14 @@ export class PdCalendar extends LitElement {
|
|
|
471
471
|
return missDayArray;
|
|
472
472
|
}
|
|
473
473
|
|
|
474
|
-
_checkNextMonthConstraint() {
|
|
475
|
-
console.log("check _latestDate: ", this._latestDate);
|
|
474
|
+
_checkNextMonthConstraint() {
|
|
476
475
|
if (this._latestDate) {
|
|
477
476
|
return this.currentDate < this._latestDate;
|
|
478
477
|
}
|
|
479
478
|
return true;
|
|
480
479
|
}
|
|
481
480
|
|
|
482
|
-
_checkPrevMonthConstraint() {
|
|
483
|
-
console.log("check _earliestDate: ", this._latestDate);
|
|
481
|
+
_checkPrevMonthConstraint() {
|
|
484
482
|
if (this._earliestDate) {
|
|
485
483
|
return this.currentDate > this._earliestDate;
|
|
486
484
|
}
|