ods-component-lib 1.17.109 → 1.17.110

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 CHANGED
@@ -1427,13 +1427,13 @@ function grid(props, dataGridRef) {
1427
1427
  }, props.edit.allowUpdating && React__default.createElement(dataGrid.Button, {
1428
1428
  hint: props.HintEdit,
1429
1429
  visible: true,
1430
- disabled: !props.actionPermission && false,
1430
+ disabled: true,
1431
1431
  icon: "edit",
1432
1432
  onClick: props.editButtonClick
1433
1433
  }), props.edit.allowDeleting && React__default.createElement(dataGrid.Button, {
1434
1434
  hint: props.HintDelete,
1435
1435
  visible: true,
1436
- disabled: !props.actionPermission && false,
1436
+ disabled: true,
1437
1437
  icon: "trash",
1438
1438
  onClick: props.deleteButtonClick
1439
1439
  }));
@@ -1445,10 +1445,8 @@ function grid(props, dataGridRef) {
1445
1445
  width: 110,
1446
1446
  showInColumnChooser: false
1447
1447
  }, React__default.createElement(React__default.Fragment, null, props.edit.allowUpdating && React__default.createElement(dataGrid.Button, {
1448
- disabled: !props.actionPermission && false,
1449
1448
  name: "edit"
1450
1449
  }), props.edit.allowDeleting && React__default.createElement(dataGrid.Button, {
1451
- disabled: !props.actionPermission && false,
1452
1450
  name: "delete"
1453
1451
  })));
1454
1452
  }
@@ -1467,7 +1465,7 @@ function grid(props, dataGridRef) {
1467
1465
  location: "before"
1468
1466
  }, React__default.createElement(OdsButton, {
1469
1467
  type: "primary",
1470
- disabled: !props.actionPermission && false,
1468
+ disabled: true,
1471
1469
  onClick: props.onAddButton,
1472
1470
  style: {
1473
1471
  marginBottom: "10px"