componenteshospitais 1.5.3 → 1.5.4
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/cjs/index.js
CHANGED
|
@@ -17538,7 +17538,7 @@ var TableStandard = function (_a) {
|
|
|
17538
17538
|
onActionClick(row[idColumn]);
|
|
17539
17539
|
}, className: styles.actionButton, title: 'Editar' },
|
|
17540
17540
|
React$2.createElement(FaPen, null))),
|
|
17541
|
-
showDownloadButton && shouldShowDownloadButton(row
|
|
17541
|
+
showDownloadButton && shouldShowDownloadButton(row[idColumn]) && (React$2.createElement("button", { onClick: function (e) {
|
|
17542
17542
|
e.stopPropagation();
|
|
17543
17543
|
if (onDownloadClick)
|
|
17544
17544
|
onDownloadClick(row[idColumn]);
|
package/dist/esm/index.js
CHANGED
|
@@ -17536,7 +17536,7 @@ var TableStandard = function (_a) {
|
|
|
17536
17536
|
onActionClick(row[idColumn]);
|
|
17537
17537
|
}, className: styles.actionButton, title: 'Editar' },
|
|
17538
17538
|
React$2.createElement(FaPen, null))),
|
|
17539
|
-
showDownloadButton && shouldShowDownloadButton(row
|
|
17539
|
+
showDownloadButton && shouldShowDownloadButton(row[idColumn]) && (React$2.createElement("button", { onClick: function (e) {
|
|
17540
17540
|
e.stopPropagation();
|
|
17541
17541
|
if (onDownloadClick)
|
|
17542
17542
|
onDownloadClick(row[idColumn]);
|
package/package.json
CHANGED
|
@@ -106,7 +106,7 @@ const TableStandard: React.FC<TableStandardProps> = ({
|
|
|
106
106
|
<FaPen />
|
|
107
107
|
</button>
|
|
108
108
|
)}
|
|
109
|
-
{showDownloadButton && shouldShowDownloadButton(row
|
|
109
|
+
{showDownloadButton && shouldShowDownloadButton(row[idColumn]) && (
|
|
110
110
|
<button
|
|
111
111
|
onClick={(e) => {
|
|
112
112
|
e.stopPropagation();
|