From 54f30cee626e82a5d82b835d7b2817ef598c95fc Mon Sep 17 00:00:00 2001 From: Nursoltan Saipolda Date: Mon, 17 Jan 2022 00:13:59 +0800 Subject: [PATCH] fix issue 5954 --- src/shared/components/Settings/Profile/BasicInfo/index.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/components/Settings/Profile/BasicInfo/index.jsx b/src/shared/components/Settings/Profile/BasicInfo/index.jsx index 1bec3d5d08..20c2398621 100644 --- a/src/shared/components/Settings/Profile/BasicInfo/index.jsx +++ b/src/shared/components/Settings/Profile/BasicInfo/index.jsx @@ -206,6 +206,7 @@ export default class BasicInfo extends ConsentComponent { newBasicInfo.tshirtSize = null; } + newProfileInfo.addresses[0] = _.omit(newProfileInfo.addresses[0], ['createdAt', 'updatedBy', 'createdBy', 'updatedAt']); _.forEach(newProfileInfo.addresses[0], (value, key) => { newProfileInfo.addresses[0][key] = _.trim(value); });