Skip to content

Commit 277d60c

Browse files
committed
fix: edit custom form submission component setSkipPrimaryKey
1 parent 7f24732 commit 277d60c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend-dev/src/components/AllIntegrations/EditCustomFormSubmissionInteg.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ function EditCustomFormSubmissionInteg({ setSnackbar }) {
127127
bitsFetch({}, tasksAction, null, tasksMethod).then(res => {
128128
setFormsLoading(false)
129129
if (res.success) {
130-
setAllTasks(res.data)
130+
const tasks = res.data
131+
setAllTasks(tasks)
132+
setSkipPrimaryKey(shouldSkipPrimaryKey(tasks, flow))
131133
}
132134
})
133135
}

0 commit comments

Comments
 (0)