@seafile/seafile-calendar 1.0.12 → 1.0.13-alpha.1

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.
@@ -103,7 +103,7 @@ var DateInput = function (_React$Component) {
103
103
  tabIndex: '0'
104
104
  })
105
105
  ),
106
- props.showClear && React.createElement(
106
+ props.showClear && !!str && React.createElement(
107
107
  'a',
108
108
  {
109
109
  role: 'button',
@@ -135,7 +135,7 @@ var DateInput = function (_React$Component) {
135
135
  tabIndex: '0'
136
136
  })
137
137
  ),
138
- props.showClear && _react2['default'].createElement(
138
+ props.showClear && !!str && _react2['default'].createElement(
139
139
  'a',
140
140
  {
141
141
  role: 'button',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/seafile-calendar",
3
- "version": "1.0.12",
3
+ "version": "1.0.13-alpha.1",
4
4
  "description": "React Calendar",
5
5
  "keywords": [
6
6
  "react",