ui-kit-ck-consultant 0.5.292 → 0.5.294

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -180,13 +180,13 @@ var FullModal = /*#__PURE__*/function (_React$Component) {
180
180
  onClick: _this.props.onValid
181
181
  }, _this.props.onValid ? /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
182
182
  icon: freeSolidSvgIcons.faCheck
183
- }) : ''), /*#__PURE__*/React__default.createElement("div", {
183
+ }) : ''), _this.props.onClose ? /*#__PURE__*/React__default.createElement("div", {
184
184
  className: style.modal_close,
185
185
  style: _this.props.closeStyle,
186
186
  onClick: _this.props.onClose
187
187
  }, _this.props.iconClose ? _this.props.iconClose : /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
188
188
  icon: freeSolidSvgIcons.faTimes
189
- })), _this.props.onCustom ? /*#__PURE__*/React__default.createElement("div", {
189
+ })) : null, _this.props.onCustom ? /*#__PURE__*/React__default.createElement("div", {
190
190
  className: style.modal_custom,
191
191
  onClick: _this.props.onCustom
192
192
  }, /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
@@ -997,7 +997,7 @@ var Th = /*#__PURE__*/function (_React$Component) {
997
997
  rowSpan: this.props.rowSpan,
998
998
  colSpan: this.props.colSpan,
999
999
  className: thClass,
1000
- onClick: this.props.sort ? this.handleSortClick : null,
1000
+ onClick: this.props.sort ? this.handleSortClick : this.props.onClick || null,
1001
1001
  style: this.props.style
1002
1002
  }, /*#__PURE__*/React__default.createElement("div", {
1003
1003
  className: style$9.table_flex