Skip to content

Commit 832ca50

Browse files
committed
fix: fix crash when order is undefined
1 parent fb909a2 commit 832ca50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/runCards/WorkflowCard/WorkflowModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const WorkflowModal = ({ workflowId, projectId, open, onClose }: Workflow
9393
inputsData={inputsData}
9494
options={specVariables?.options}
9595
optionsFormData={optionsFormData}
96-
order={(specVariables?.options as any).properties}
96+
order={(specVariables?.options as any)?.properties}
9797
projectId={projectId}
9898
setInputsData={setInputsData}
9999
setOptionsFormData={setOptionsFormData}

0 commit comments

Comments
 (0)