mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-06 06:48:21 +00:00
Merge pull request #12172 from ToolJet/fix/custom-component
Fix: Custom Component runQuery parameter not working
This commit is contained in:
commit
0ab323a74a
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ export const CustomComponent = (props) => {
|
|||
setCustomProps({ ...customPropRef.current, ...e.data.updatedObj });
|
||||
} else if (e.data.message === 'RUN_QUERY') {
|
||||
const options = {
|
||||
parameters: e.data.parameters,
|
||||
parameters: JSON.parse(e.data.parameters),
|
||||
queryName: e.data.queryName,
|
||||
};
|
||||
onEvent('onTrigger', [], options);
|
||||
|
|
|
|||
Loading…
Reference in a new issue