We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dd75db commit a11ec1cCopy full SHA for a11ec1c
src/lib/components/v2/workflow/RunWorkflowModal.svelte
@@ -63,8 +63,8 @@
63
!isConverterType(workflow.task_list[firstTaskIndex].task_type);
64
65
$: disabledTypes = Object.keys({
66
- ...workflow.task_list[firstTaskIndex || 0].type_filters,
67
- ...workflow.task_list[firstTaskIndex || 0].task.input_types
+ ...(workflow.task_list[firstTaskIndex || 0]?.type_filters || {}),
+ ...(workflow.task_list[firstTaskIndex || 0]?.task.input_types || {})
68
});
69
70
/** @type {import('fractal-components/types/api').ImagePage|null} */
0 commit comments