Skip to content

Commit a11ec1c

Browse files
committed
Fix
1 parent 9dd75db commit a11ec1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/components/v2/workflow/RunWorkflowModal.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
!isConverterType(workflow.task_list[firstTaskIndex].task_type);
6464
6565
$: disabledTypes = Object.keys({
66-
...workflow.task_list[firstTaskIndex || 0].type_filters,
67-
...workflow.task_list[firstTaskIndex || 0].task.input_types
66+
...(workflow.task_list[firstTaskIndex || 0]?.type_filters || {}),
67+
...(workflow.task_list[firstTaskIndex || 0]?.task.input_types || {})
6868
});
6969
7070
/** @type {import('fractal-components/types/api').ImagePage|null} */

0 commit comments

Comments
 (0)