@seafile/seafile-calendar 1.0.11-beta.2 → 1.0.11-beta.3

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