@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.js
CHANGED
@@ -37935,14 +37935,14 @@ function Actions(props) {
|
|
37935
37935
|
const { texts } = useLocalization();
|
37936
37936
|
const tableMeta = table.options.meta;
|
37937
37937
|
const visibleActions = actions.map((action) => {
|
37938
|
-
var _a2;
|
37938
|
+
var _a2, _b;
|
37939
37939
|
const helpers = {
|
37940
37940
|
rowId,
|
37941
37941
|
table
|
37942
37942
|
};
|
37943
|
-
if (tableMeta.editing.isEnabled) {
|
37943
|
+
if ((_a2 = tableMeta.editing) == null ? void 0 : _a2.isEnabled) {
|
37944
37944
|
helpers.editing = {
|
37945
|
-
isEditing: ((
|
37945
|
+
isEditing: ((_b = tableMeta.editing) == null ? void 0 : _b.isEditing) ?? false,
|
37946
37946
|
removeRowChanges: () => tableMeta.editing.discardChanges(rowId, table),
|
37947
37947
|
save: () => tableMeta.editing.saveChanges(table, rowId)
|
37948
37948
|
};
|