ui-kit-ck-consultant 0.5.310 → 0.5.311

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  }