@bigbinary/neeto-approvals-frontend 0.2.4 → 0.2.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.
package/dist/index.js CHANGED
@@ -6056,7 +6056,8 @@ var Form = function Form(_ref) {
6056
6056
  }, function (_ref2) {
6057
6057
  var setFieldValue = _ref2.setFieldValue,
6058
6058
  values = _ref2.values,
6059
- resetForm = _ref2.resetForm;
6059
+ resetForm = _ref2.resetForm,
6060
+ dirty = _ref2.dirty;
6060
6061
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Pane.Body, null, /*#__PURE__*/React.createElement("div", {
6061
6062
  className: "w-full space-y-6"
6062
6063
  }, /*#__PURE__*/React.createElement(Select$1, {
@@ -6091,6 +6092,7 @@ var Form = function Form(_ref) {
6091
6092
  })))), /*#__PURE__*/React.createElement(Pane.Footer, {
6092
6093
  className: "flex gap-x-2"
6093
6094
  }, /*#__PURE__*/React.createElement(Button, {
6095
+ disabled: !dirty,
6094
6096
  label: t("buttons.saveChanges"),
6095
6097
  loading: isLoading,
6096
6098
  type: "submit"