code7-leia 0.2.33 → 0.2.34

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.
@@ -1628,15 +1628,15 @@ var FileArea = function FileArea() {
1628
1628
  initialFiles: initialFiles
1629
1629
  }), React__default.createElement("div", null, React__default.createElement("button", {
1630
1630
  id: 'button-upload',
1631
- onClick: handleOpenModal,
1632
- disabled: readonly
1631
+ disabled: readonly,
1632
+ onClick: handleOpenModal
1633
1633
  }, React__default.createElement(fa.FaUpload, {
1634
1634
  size: 14
1635
1635
  }), " ", t.fileArea.fileUpload), React__default.createElement("button", {
1636
+ disabled: readonly,
1636
1637
  onClick: function onClick() {
1637
1638
  return handleOpenModalTraining(undefined);
1638
- },
1639
- disabled: readonly
1639
+ }
1640
1640
  }, React__default.createElement(gi.GiWeightLiftingUp, {
1641
1641
  size: 14
1642
1642
  }), " ", t.fileArea.training)))), files.length === 0 ? React__default.createElement(EmptyState, {
@@ -1645,6 +1645,7 @@ var FileArea = function FileArea() {
1645
1645
  description: t.fileArea.emptyState.description,
1646
1646
  iconButton: React__default.createElement("button", {
1647
1647
  id: 'button-upload',
1648
+ disabled: readonly,
1648
1649
  onClick: handleOpenModal
1649
1650
  }, React__default.createElement(fa.FaUpload, {
1650
1651
  size: 14
@@ -1687,11 +1688,13 @@ var FileArea = function FileArea() {
1687
1688
  className: 'divDelete'
1688
1689
  }, React__default.createElement("button", {
1689
1690
  className: 'buttonTraining',
1691
+ disabled: readonly,
1690
1692
  onClick: function onClick() {
1691
1693
  return handleOpenModalTraining(object.tags);
1692
1694
  }
1693
1695
  }, t.buttons.training), React__default.createElement("button", {
1694
1696
  className: 'buttonDelete',
1697
+ disabled: readonly,
1695
1698
  onClick: function onClick() {
1696
1699
  return handleOpenModalDelete(object.name);
1697
1700
  }