@skalfa/skalfa-component 1.0.18 → 1.0.19

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.
@@ -283,6 +283,7 @@ function TableSupervisionComponent({ title, id, fetchControl, columnControl, for
283
283
  ? { path: `${submitControl?.path}/${selected?.id || ""}` }
284
284
  : { url: `${submitControl?.url}/${selected?.id || ""}` }),
285
285
  method: submitControl?.method || "POST",
286
+ payload: submitControl?.payload,
286
287
  },
287
288
  onSuccess: () => {
288
289
  reset();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skalfa/skalfa-component",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Reusable UI components for Skalfa App.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -648,6 +648,7 @@ export function TableSupervisionComponent({
648
648
  : {url: `${submitControl?.url}/${(selected as { id: number })?.id || ""}`}
649
649
  ),
650
650
  method: submitControl?.method || "POST",
651
+ payload: submitControl?.payload,
651
652
  },
652
653
  onSuccess: () => {
653
654
  reset();