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.
@@ -1620,15 +1620,15 @@ var FileArea = function FileArea() {
1620
1620
  initialFiles: initialFiles
1621
1621
  }), React.createElement("div", null, React.createElement("button", {
1622
1622
  id: 'button-upload',
1623
- onClick: handleOpenModal,
1624
- disabled: readonly
1623
+ disabled: readonly,
1624
+ onClick: handleOpenModal
1625
1625
  }, React.createElement(FaUpload, {
1626
1626
  size: 14
1627
1627
  }), " ", t.fileArea.fileUpload), React.createElement("button", {
1628
+ disabled: readonly,
1628
1629
  onClick: function onClick() {
1629
1630
  return handleOpenModalTraining(undefined);
1630
- },
1631
- disabled: readonly
1631
+ }
1632
1632
  }, React.createElement(GiWeightLiftingUp, {
1633
1633
  size: 14
1634
1634
  }), " ", t.fileArea.training)))), files.length === 0 ? React.createElement(EmptyState, {
@@ -1637,6 +1637,7 @@ var FileArea = function FileArea() {
1637
1637
  description: t.fileArea.emptyState.description,
1638
1638
  iconButton: React.createElement("button", {
1639
1639
  id: 'button-upload',
1640
+ disabled: readonly,
1640
1641
  onClick: handleOpenModal
1641
1642
  }, React.createElement(FaUpload, {
1642
1643
  size: 14
@@ -1679,11 +1680,13 @@ var FileArea = function FileArea() {
1679
1680
  className: 'divDelete'
1680
1681
  }, React.createElement("button", {
1681
1682
  className: 'buttonTraining',
1683
+ disabled: readonly,
1682
1684
  onClick: function onClick() {
1683
1685
  return handleOpenModalTraining(object.tags);
1684
1686
  }
1685
1687
  }, t.buttons.training), React.createElement("button", {
1686
1688
  className: 'buttonDelete',
1689
+ disabled: readonly,
1687
1690
  onClick: function onClick() {
1688
1691
  return handleOpenModalDelete(object.name);
1689
1692
  }