oa-componentbook 0.18.174 → 0.18.175

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.
@@ -125,7 +125,7 @@ function DateDropDown(_ref) {
125
125
  } else {
126
126
  getValues({
127
127
  startDate: (0, _dayjs3.default)(getDateOffset(event.value)).format(format),
128
- endDate: (0, _dayjs3.default)(getDateOffset(0)).format(format),
128
+ endDate: (0, _dayjs3.default)(getDateOffset((event === null || event === void 0 ? void 0 : event.value) === 1 ? event.value : 0)).format(format),
129
129
  label: event === null || event === void 0 ? void 0 : event.label
130
130
  });
131
131
  setSelectValue({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oa-componentbook",
3
- "version": "0.18.174",
3
+ "version": "0.18.175",
4
4
  "private": false,
5
5
  "description": "Reusable components",
6
6
  "main": "build/index.js",