intelicoreact 1.0.28 → 1.0.29
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.
|
@@ -141,12 +141,10 @@ var AccordionTable = function AccordionTable(_ref) {
|
|
|
141
141
|
}, Object.entries(row.statistics).map(function (_ref4) {
|
|
142
142
|
var _getHeaderItem3, _getHeaderItem4;
|
|
143
143
|
|
|
144
|
-
var _ref5 = (0, _slicedToArray2.default)(_ref4,
|
|
144
|
+
var _ref5 = (0, _slicedToArray2.default)(_ref4, 2),
|
|
145
145
|
key = _ref5[0],
|
|
146
|
-
value = _ref5[1]
|
|
147
|
-
status = _ref5[2];
|
|
146
|
+
value = _ref5[1];
|
|
148
147
|
|
|
149
|
-
var nativeHintText = value || status;
|
|
150
148
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
151
149
|
key: key,
|
|
152
150
|
style: {
|
|
@@ -155,9 +153,11 @@ var AccordionTable = function AccordionTable(_ref) {
|
|
|
155
153
|
className: (0, _classnames.default)('accordion-table__statistics-td', (_getHeaderItem4 = getHeaderItem(key)) === null || _getHeaderItem4 === void 0 ? void 0 : _getHeaderItem4.className)
|
|
156
154
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
157
155
|
className: "accordion-table__statistics-td-value-wrapper"
|
|
158
|
-
},
|
|
156
|
+
}, key === 'status' ? /*#__PURE__*/_react.default.createElement("div", {
|
|
157
|
+
className: "accordion-table__statistics-td-value"
|
|
158
|
+
}, value) : /*#__PURE__*/_react.default.createElement("p", {
|
|
159
159
|
className: "accordion-table__statistics-td-value",
|
|
160
|
-
title:
|
|
160
|
+
title: value
|
|
161
161
|
}, value)));
|
|
162
162
|
}))), row.titleContent);
|
|
163
163
|
};
|