@bigbinary/neeto-team-members-frontend 4.2.5 → 4.2.6
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.
- package/dist/index.cjs.js +8 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2606,21 +2606,24 @@ var ChangeProfile = function ChangeProfile(_ref) {
|
|
|
2606
2606
|
payload = _objectSpread$i(_objectSpread$i({}, values), {}, {
|
|
2607
2607
|
avatar: avatar
|
|
2608
2608
|
});
|
|
2609
|
+
if (payload.countryId === countryId) {
|
|
2610
|
+
delete payload.countryId;
|
|
2611
|
+
}
|
|
2609
2612
|
updateProfile({
|
|
2610
2613
|
id: user.id,
|
|
2611
2614
|
payload: payload
|
|
2612
2615
|
});
|
|
2613
|
-
_context.next =
|
|
2616
|
+
_context.next = 22;
|
|
2614
2617
|
break;
|
|
2615
|
-
case
|
|
2616
|
-
_context.prev =
|
|
2618
|
+
case 19:
|
|
2619
|
+
_context.prev = 19;
|
|
2617
2620
|
_context.t0 = _context["catch"](0);
|
|
2618
2621
|
Toastr__default["default"].error(_context.t0);
|
|
2619
|
-
case
|
|
2622
|
+
case 22:
|
|
2620
2623
|
case "end":
|
|
2621
2624
|
return _context.stop();
|
|
2622
2625
|
}
|
|
2623
|
-
}, _callee, null, [[0,
|
|
2626
|
+
}, _callee, null, [[0, 19]]);
|
|
2624
2627
|
}));
|
|
2625
2628
|
return function handleSubmit(_x) {
|
|
2626
2629
|
return _ref4.apply(this, arguments);
|