@economic/taco 2.62.0 → 2.62.1
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/taco.cjs +3 -3
- package/dist/taco.cjs.map +1 -1
- package/dist/taco.js +3 -3
- package/dist/taco.js.map +1 -1
- package/package.json +2 -2
package/dist/taco.cjs
CHANGED
@@ -37953,14 +37953,14 @@ function Actions(props) {
|
|
37953
37953
|
const { texts } = useLocalization();
|
37954
37954
|
const tableMeta = table.options.meta;
|
37955
37955
|
const visibleActions = actions.map((action) => {
|
37956
|
-
var _a2;
|
37956
|
+
var _a2, _b;
|
37957
37957
|
const helpers = {
|
37958
37958
|
rowId,
|
37959
37959
|
table
|
37960
37960
|
};
|
37961
|
-
if (tableMeta.editing.isEnabled) {
|
37961
|
+
if ((_a2 = tableMeta.editing) == null ? void 0 : _a2.isEnabled) {
|
37962
37962
|
helpers.editing = {
|
37963
|
-
isEditing: ((
|
37963
|
+
isEditing: ((_b = tableMeta.editing) == null ? void 0 : _b.isEditing) ?? false,
|
37964
37964
|
removeRowChanges: () => tableMeta.editing.discardChanges(rowId, table),
|
37965
37965
|
save: () => tableMeta.editing.saveChanges(table, rowId)
|
37966
37966
|
};
|