@bsol-oss/react-datatable5 12.0.0-beta.32 → 12.0.0-beta.33
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3655,7 +3655,7 @@ const ArrayRenderer = ({ schema, column, prefix, }) => {
|
|
|
3655
3655
|
prefix: `${colLabel}.`,
|
|
3656
3656
|
schema: items }) }), jsxRuntime.jsx(react.Flex, { justifyContent: "end", children: jsxRuntime.jsx(react.Button, { variant: "ghost", onClick: () => {
|
|
3657
3657
|
setValue(colLabel, fields.filter((_, curIndex) => {
|
|
3658
|
-
return curIndex
|
|
3658
|
+
return curIndex !== index;
|
|
3659
3659
|
}));
|
|
3660
3660
|
}, children: translate.t(removeIndex(`${colLabel}.remove`)) }) })] }, `${colLabel}.${index}`))), jsxRuntime.jsx(react.Flex, { children: jsxRuntime.jsx(react.Button, { onClick: () => {
|
|
3661
3661
|
if (type === "number") {
|
package/dist/index.mjs
CHANGED
|
@@ -3635,7 +3635,7 @@ const ArrayRenderer = ({ schema, column, prefix, }) => {
|
|
|
3635
3635
|
prefix: `${colLabel}.`,
|
|
3636
3636
|
schema: items }) }), jsx(Flex, { justifyContent: "end", children: jsx(Button$1, { variant: "ghost", onClick: () => {
|
|
3637
3637
|
setValue(colLabel, fields.filter((_, curIndex) => {
|
|
3638
|
-
return curIndex
|
|
3638
|
+
return curIndex !== index;
|
|
3639
3639
|
}));
|
|
3640
3640
|
}, children: translate.t(removeIndex(`${colLabel}.remove`)) }) })] }, `${colLabel}.${index}`))), jsx(Flex, { children: jsx(Button$1, { onClick: () => {
|
|
3641
3641
|
if (type === "number") {
|