@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 CHANGED
@@ -368,8 +368,8 @@ var _initialiseProps = function _initialiseProps() {
368
368
 
369
369
  this.onClear = function () {
370
370
  console.log('onClear');
371
- // this.onSelect(null);
372
- // this.props.onClear();
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
- // this.onSelect(null);
436
- // this.props.onClear();
435
+ _this2.onSelect(null);
436
+ _this2.props.onClear();
437
437
  // this.setState({ currentStatus: CALENDAR_STATUS.CURRENT_TIME });
438
438
  };
439
439
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/seafile-calendar",
3
- "version": "1.0.11-beta.1",
3
+ "version": "1.0.11-beta.2",
4
4
  "description": "React Calendar",
5
5
  "keywords": [
6
6
  "react",