mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 00:48:25 +00:00
Shallow clone objects while resolving references
This commit is contained in:
parent
65b5735b74
commit
2dedcae20a
1 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue