diff --git a/products/ASC.People/Client/src/store/people/selectors.js b/products/ASC.People/Client/src/store/people/selectors.js index aad26c2ead..066e923b5e 100644 --- a/products/ASC.People/Client/src/store/people/selectors.js +++ b/products/ASC.People/Client/src/store/people/selectors.js @@ -1,4 +1,4 @@ -import { find, filter } from "lodash"; +import { find, filter, cloneDeep } from "lodash"; import { EmployeeActivationStatus, EmployeeStatus } from "../../helpers/constants"; export function getSelectedUser(selection, userId) { @@ -141,5 +141,5 @@ export function toEmployeeWrapper(profile) { contacts: [] }; - return { ...emptyData, ...profile }; + return cloneDeep({ ...emptyData, ...profile }); } \ No newline at end of file