@bigbinary/neeto-approvals-frontend 0.0.13 → 0.0.14

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/dist/index.cjs.js CHANGED
@@ -4912,7 +4912,7 @@ const Form$2 = _ref => {
4912
4912
  onClose: onClose
4913
4913
  }, /*#__PURE__*/t__default["default"].createElement(neetoui.Pane.Header, null, /*#__PURE__*/t__default["default"].createElement(neetoui.Typography, {
4914
4914
  style: "h2"
4915
- }, initialData ? t("typography.editApprover") : t("typography.newApprover"))), /*#__PURE__*/t__default["default"].createElement(formik.Form, {
4915
+ }, ramda.isEmpty(initialData) ? t("typography.newApprover") : t("typography.editApprover"))), /*#__PURE__*/t__default["default"].createElement(formik.Form, {
4916
4916
  formikProps: {
4917
4917
  initialValues: initialData || APPROVER_FORM_INITIAL_VALUES,
4918
4918
  validationSchema: APPROVER_FORM_VALIDATION_SCHEMA,