@seafile/seafile-calendar 1.0.11-beta.1 → 1.0.11-beta.2
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/es/Calendar.js +2 -2
- package/lib/Calendar.js +2 -2
- package/package.json +1 -1
package/es/Calendar.js
CHANGED
|
@@ -368,8 +368,8 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
368
368
|
|
|
369
369
|
this.onClear = function () {
|
|
370
370
|
console.log('onClear');
|
|
371
|
-
|
|
372
|
-
|
|
371
|
+
_this2.onSelect(null);
|
|
372
|
+
_this2.props.onClear();
|
|
373
373
|
// this.setState({ currentStatus: CALENDAR_STATUS.CURRENT_TIME });
|
|
374
374
|
};
|
|
375
375
|
|
package/lib/Calendar.js
CHANGED
|
@@ -432,8 +432,8 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
432
432
|
|
|
433
433
|
this.onClear = function () {
|
|
434
434
|
console.log('onClear');
|
|
435
|
-
|
|
436
|
-
|
|
435
|
+
_this2.onSelect(null);
|
|
436
|
+
_this2.props.onClear();
|
|
437
437
|
// this.setState({ currentStatus: CALENDAR_STATUS.CURRENT_TIME });
|
|
438
438
|
};
|
|
439
439
|
|