@bigbinary/neeto-rules-frontend 2.7.8 → 2.7.9

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.
@@ -4382,16 +4382,14 @@ var DelayPanel = function DelayPanel() {
4382
4382
  type: "number",
4383
4383
  onFocus: setValueFieldActive
4384
4384
  }), /*#__PURE__*/jsxRuntime.jsx(formik$1.Select, {
4385
- defaultValue: neetoCist.findBy({
4386
- value: value.unit
4387
- }, DELAY_UNIT_OPTIONS),
4388
- innerRef: unitRef,
4385
+ defaultValue: value.unit,
4389
4386
  name: "".concat(name, ".value.unit"),
4390
4387
  options: DELAY_UNIT_OPTIONS,
4391
4388
  placeholder: t("neetoRules.placeholders.selectOption"),
4392
- onChange: function onChange(option) {
4389
+ ref: unitRef,
4390
+ onChange: function onChange(unit) {
4393
4391
  return setValue(_objectSpread$3(_objectSpread$3({}, value), {}, {
4394
- unit: option.value
4392
+ unit: unit
4395
4393
  }));
4396
4394
  },
4397
4395
  onFocus: setUnitFieldActive
@@ -5385,4 +5383,4 @@ exports.getSlackChannelErrors = getSlackChannelErrors;
5385
5383
  exports.getValidationSchema = getValidationSchema;
5386
5384
  exports.getVerbOptions = getVerbOptions;
5387
5385
  exports.usePollRuleName = usePollRuleName;
5388
- //# sourceMappingURL=index-BL9TdE9q.js.map
5386
+ //# sourceMappingURL=index-BHLJ3lzS.js.map