react-cron-generator 1.3.4 → 1.3.5

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.
@@ -157,7 +157,7 @@ var MonthlyCron = /*#__PURE__*/function (_Component) {
157
157
  }), /*#__PURE__*/React.createElement("input", {
158
158
  readOnly: this.state.every !== "4",
159
159
  type: "number",
160
- value: this.state.value[3].split('-')[1],
160
+ value: this.state.value[3].split('-').length && this.state.value[3].split('-')[1] ? this.state.value[3].split('-')[1] : '',
161
161
  onChange: this.onLastDayChange
162
162
  }), translateFn('day(s) before the end of the month')), translateFn('Start time'), /*#__PURE__*/React.createElement(Hour, {
163
163
  onChange: this.onAtHourChange,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-cron-generator",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "Simple react component to generate cron expression",
5
5
  "keywords": [
6
6
  "React cron generator",