@desynova-digital/components 8.19.31 → 8.19.32

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.
@@ -1159,7 +1159,8 @@ var Table = function (_Component) {
1159
1159
  getTableData = _props2.getTableData,
1160
1160
  downloadAvailable = _props2.downloadAvailable,
1161
1161
  tableLoading = _props2.tableLoading,
1162
- tableLoadingAction = _props2.tableLoadingAction;
1162
+ tableLoadingAction = _props2.tableLoadingAction,
1163
+ filtersStructure = _props2.filtersStructure;
1163
1164
  var _state2 = this.state,
1164
1165
  nestedTable = _state2.nestedTable,
1165
1166
  searchedText = _state2.searchedText,
@@ -1397,7 +1398,7 @@ var Table = function (_Component) {
1397
1398
  })
1398
1399
  ) || _react2.default.createElement(_Shimmer2.default, { height: "24px", width: "30px" })
1399
1400
  ),
1400
- this.props.filtersStructure && this.props.filtersStructure.length && !tableLoading || tableLoadingAction ? _react2.default.createElement(_filter2.default, {
1401
+ this.props.filtersStructure && this.props.filtersStructure.length && !tableLoading || tableLoadingAction && filtersStructure.length ? _react2.default.createElement(_filter2.default, {
1401
1402
  ref: this._filterRef,
1402
1403
  initialFilters: this.props.initialFilters,
1403
1404
  filtersStructure: this.props.filtersStructure,
@@ -1407,7 +1408,7 @@ var Table = function (_Component) {
1407
1408
  filterMessage: this.props.filterMessage,
1408
1409
  handleUserIdFilterChange: this.props.handleUserIdFilterChange,
1409
1410
  userIdsList: this.props.userIdsList
1410
- }) : tableLoading ? _react2.default.createElement(_Shimmer2.default, { height: "24px", width: "30px" }) : null,
1411
+ }) : tableLoading && filtersStructure.length ? _react2.default.createElement(_Shimmer2.default, { height: "24px", width: "30px" }) : null,
1411
1412
  downloadAvailable && (!tableLoading || tableLoading && tableLoadingAction) && _react2.default.createElement(
1412
1413
  "div",
1413
1414
  { className: "refresh-section" },
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@desynova-digital/components",
3
- "version": "8.19.31",
3
+ "version": "8.19.32",
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": "8.19.31",
10
+ "@desynova-digital/tokens": "8.19.32",
11
11
  "prop-types": "^15.7.2",
12
12
  "styled-components": "^4.3.2"
13
13
  },