@arquimedes.co/eureka-forms 1.9.52-test → 1.9.54-test

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.
@@ -94,7 +94,7 @@ function ColumnForm(_a) {
94
94
  return _jsx("div", {});
95
95
  }
96
96
  var onSubmit = function (token) { return __awaiter(_this, void 0, void 0, function () {
97
- var valid, values, newValues, _i, _a, idStep, payload, url, resp, _b, error_1;
97
+ var valid, values, newValues, _i, _a, idStep, customResp, payload, url, resp, _b, error_1;
98
98
  return __generator(this, function (_c) {
99
99
  switch (_c.label) {
100
100
  case 0:
@@ -121,8 +121,9 @@ function ColumnForm(_a) {
121
121
  if (!customSend) return [3 /*break*/, 4];
122
122
  return [4 /*yield*/, customSend(newValues, reload)];
123
123
  case 3:
124
- _c.sent();
125
- return [3 /*break*/, 9];
124
+ customResp = _c.sent();
125
+ setLoading(false);
126
+ return [2 /*return*/, customResp];
126
127
  case 4:
127
128
  payload = {
128
129
  formValues: { steps: newValues },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version":"1.9.52-test",
4
+ "version":"1.9.54-test",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",