@desynova-digital/components 9.1.3 → 9.1.5
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/molecules/table/table.js +5 -2
- package/package.json +2 -2
package/molecules/table/table.js
CHANGED
|
@@ -1032,7 +1032,8 @@ var Table = /*#__PURE__*/function (_Component) {
|
|
|
1032
1032
|
tableLoadingAction = _this$props3.tableLoadingAction,
|
|
1033
1033
|
filtersStructure = _this$props3.filtersStructure,
|
|
1034
1034
|
dropDownHandle = _this$props3.dropDownHandle,
|
|
1035
|
-
downloadHandle = _this$props3.downloadHandle
|
|
1035
|
+
downloadHandle = _this$props3.downloadHandle,
|
|
1036
|
+
isDownlaodingReport = _this$props3.isDownlaodingReport;
|
|
1036
1037
|
var _this$state2 = this.state,
|
|
1037
1038
|
nestedTable = _this$state2.nestedTable,
|
|
1038
1039
|
searchedText = _this$state2.searchedText,
|
|
@@ -1213,10 +1214,12 @@ var Table = /*#__PURE__*/function (_Component) {
|
|
|
1213
1214
|
className: "refresh-section"
|
|
1214
1215
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
1215
1216
|
className: "refresh-btn",
|
|
1216
|
-
onClick: function
|
|
1217
|
+
onClick: isDownlaodingReport ? function () {
|
|
1217
1218
|
return getTableData({
|
|
1218
1219
|
page: 1
|
|
1219
1220
|
}, false, true);
|
|
1221
|
+
} : function () {
|
|
1222
|
+
return;
|
|
1220
1223
|
}
|
|
1221
1224
|
}, /*#__PURE__*/_react["default"].createElement(_button["default"], {
|
|
1222
1225
|
theme: this.props.theme,
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@desynova-digital/components",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.5",
|
|
4
4
|
"description": "Components for Desynova Digital",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "desynova-digital",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": "desynova-digital",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@desynova-digital/tokens": "9.1.
|
|
10
|
+
"@desynova-digital/tokens": "9.1.5",
|
|
11
11
|
"prop-types": "^15.7.2",
|
|
12
12
|
"styled-components": "^4.3.2"
|
|
13
13
|
},
|