diff --git a/frontend/src/_helpers/utils.js b/frontend/src/_helpers/utils.js index e26e88b8a7..fcf96b7f33 100644 --- a/frontend/src/_helpers/utils.js +++ b/frontend/src/_helpers/utils.js @@ -31,6 +31,9 @@ export function resolve(data, state) { } export function resolveReferences(object, state, defaultValue, customObjects = {}, withError = false) { + + object = _.clone(object) + const objectType = typeof object; let error; switch (objectType) {