ods-component-lib 1.13.11 → 1.13.13

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.
@@ -1335,13 +1335,13 @@ function grid(props) {
1335
1335
  return React.createElement(Column, {
1336
1336
  type: "buttons",
1337
1337
  width: 110
1338
- }, React.createElement(Button$1, {
1338
+ }, props.edit.allowUpdating && React.createElement(Button$1, {
1339
1339
  hint: "Edit",
1340
1340
  visible: true,
1341
1341
  disabled: false,
1342
1342
  icon: "edit",
1343
1343
  onClick: props.editButtonClick
1344
- }), React.createElement(Button$1, {
1344
+ }), props.edit.allowDeleting && React.createElement(Button$1, {
1345
1345
  hint: "Delete",
1346
1346
  visible: true,
1347
1347
  disabled: false,
@@ -1639,13 +1639,13 @@ function grid$2(props) {
1639
1639
  return React.createElement(Column, {
1640
1640
  type: "buttons",
1641
1641
  width: 110
1642
- }, React.createElement(Button$1, {
1642
+ }, props.edit.allowUpdating && React.createElement(Button$1, {
1643
1643
  hint: "Edit",
1644
1644
  visible: true,
1645
1645
  disabled: false,
1646
1646
  icon: "edit",
1647
1647
  onClick: props.editButtonClick
1648
- }), React.createElement(Button$1, {
1648
+ }), props.edit.allowDeleting && React.createElement(Button$1, {
1649
1649
  hint: "Delete",
1650
1650
  visible: true,
1651
1651
  disabled: false,