The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix flash when creating draft (#10814)
martmull638fbe201439
diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionServerlessFunction.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionServerlessFunction.tsxindex c622db51782..4e2a67c7053 100644--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionServerlessFunction.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/components/WorkflowEditActionServerlessFunction.tsx@@ -77,8 +77,6 @@ export const WorkflowEditActionServerlessFunction = ({const theme = useTheme();const { getIcon } = useIcons();const serverlessFunctionId = action.settings.input.serverlessFunctionId;- const serverlessFunctionVersion =- action.settings.input.serverlessFunctionVersion;const tabListId = `${WORKFLOW_SERVERLESS_FUNCTION_TAB_LIST_COMPONENT_ID}_${serverlessFunctionId}`;const { activeTabId } = useTabList(tabListId);const { updateOneServerlessFunction } =@@ -102,7 +100,7 @@ export const WorkflowEditActionServerlessFunction = ({const { formValues, setFormValues, loading } =useServerlessFunctionUpdateFormState({serverlessFunctionId,- serverlessFunctionVersion,+ serverlessFunctionVersion: 'draft',});const updateOutputSchemaFromTestResult = async (testResult: object) => {