ywana-core8 0.0.558 → 0.0.559

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.
@@ -1652,7 +1652,13 @@ var DataTableRow = function DataTableRow(props) {
1652
1652
  onClick: function onClick(ev) {
1653
1653
  return onSelect(row, ev);
1654
1654
  }
1655
- }, columns.map(function (column, cindex) {
1655
+ }, row.info ? /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement(Icon, {
1656
+ icon: infoIcon,
1657
+ clickable: true,
1658
+ action: function action() {
1659
+ return toggleInfo(!isInfoOpen);
1660
+ }
1661
+ })) : /*#__PURE__*/React.createElement("td", null), columns.map(function (column, cindex) {
1656
1662
  return /*#__PURE__*/React.createElement(DataTableCell, {
1657
1663
  key: column.id + "_" + cindex,
1658
1664
  index: index,
@@ -1661,13 +1667,7 @@ var DataTableRow = function DataTableRow(props) {
1661
1667
  cell: row[column.id],
1662
1668
  editable: editable
1663
1669
  });
1664
- }), row.info ? /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement(Icon, {
1665
- icon: infoIcon,
1666
- clickable: true,
1667
- action: function action() {
1668
- return toggleInfo(!isInfoOpen);
1669
- }
1670
- })) : /*#__PURE__*/React.createElement("td", null)), row.info && isInfoOpen ? /*#__PURE__*/React.createElement("tr", {
1670
+ })), row.info && isInfoOpen ? /*#__PURE__*/React.createElement("tr", {
1671
1671
  className: "table-row-info"
1672
1672
  }, /*#__PURE__*/React.createElement("td", {
1673
1673
  colSpan: columns.length + 1