Skip to content

Commit

Permalink
fix: pass obj to form script
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Sep 17, 2024
1 parent d1c37c1 commit 9099e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export async function setupCustomizations(data, obj) {
statuses = statuses.concat(_script?.statuses || [])
}
} else {
let _script = await getFromScript(data._form_script, data)
let _script = await getFromScript(data._form_script, obj)
actions = _script?.actions || []
statuses = _script?.statuses || []
}
Expand Down

0 comments on commit 9099e17

Please sign in to comment.