ui-kit-ck-consultant 0.5.310 → 0.5.312

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.
@@ -101,7 +101,7 @@ var Modal = /*#__PURE__*/function (_React$Component) {
101
101
  if (e.target === e.currentTarget && !this.props.disableClose) {
102
102
  if (this.props.closeMessage) {
103
103
  if (window.confirmCustom) {
104
- window.confirmCustom(this.props.closeMessage, function () {
104
+ window.confirmCustom(this.props.closeMessage, function (result) {
105
105
  if (result) {
106
106
  _this2.props.onClose();
107
107
  }
@@ -163,7 +163,7 @@ var Modal = /*#__PURE__*/function (_React$Component) {
163
163
  onClick: function onClick() {
164
164
  if (_this3.props.closeMessage) {
165
165
  if (window.confirmCustom) {
166
- window.confirmCustom(_this3.props.closeMessage, function () {
166
+ window.confirmCustom(_this3.props.closeMessage, function (result) {
167
167
  if (result) {
168
168
  _this3.props.onClose();
169
169
  }