@itilite/iui-user-management 1.4.7682 → 1.4.7683
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.js +0 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +0 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4029,7 +4029,6 @@ var reducer = function reducer(state, action) {
|
|
|
4029
4029
|
{
|
|
4030
4030
|
var _action$payload8, _action$payload8$role, _action$payload9;
|
|
4031
4031
|
var cardsDetails = _extends({}, state.cardsDetails);
|
|
4032
|
-
console.log(action === null || action === void 0 ? void 0 : action.payload, 'cardsDetails22');
|
|
4033
4032
|
if (action !== null && action !== void 0 && (_action$payload8 = action.payload) !== null && _action$payload8 !== void 0 && (_action$payload8$role = _action$payload8.roles) !== null && _action$payload8$role !== void 0 && _action$payload8$role.length) {
|
|
4034
4033
|
cardsDetails.cardsRoles = action.payload.roles.map(function (role) {
|
|
4035
4034
|
return {
|
|
@@ -4046,7 +4045,6 @@ var reducer = function reducer(state, action) {
|
|
|
4046
4045
|
};
|
|
4047
4046
|
});
|
|
4048
4047
|
}
|
|
4049
|
-
console.log(cardsDetails, 'cardsDetails2');
|
|
4050
4048
|
return _extends({}, state, {
|
|
4051
4049
|
cardsDetails: cardsDetails,
|
|
4052
4050
|
isCardsDetailsRendered: true,
|
|
@@ -6208,7 +6206,6 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
6208
6206
|
}).then(function (res) {
|
|
6209
6207
|
var _res$roles;
|
|
6210
6208
|
if (res !== null && res !== void 0 && (_res$roles = res.roles) !== null && _res$roles !== void 0 && _res$roles.length) {
|
|
6211
|
-
console.log(res, 'cardsDetails222');
|
|
6212
6209
|
dispatch(setCardsDetails(res));
|
|
6213
6210
|
} else {
|
|
6214
6211
|
IUIToastMessageService$6.warningNotify('Opps, Something went wrong.');
|
|
@@ -6915,7 +6912,6 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
6915
6912
|
}
|
|
6916
6913
|
}, [isTokenVerified]);
|
|
6917
6914
|
React.useEffect(function () {
|
|
6918
|
-
console.log(isProfile, 'isProfile', id, 'id', editUserId, 'editUserId');
|
|
6919
6915
|
if (isRendered === true) {
|
|
6920
6916
|
renderFields === null || renderFields === void 0 ? void 0 : renderFields.products.forEach(function (prod) {
|
|
6921
6917
|
if ((prod === null || prod === void 0 ? void 0 : prod.name) === 'card') {
|