Skip to content

Commit

Permalink
fix: resume form should support all known types (#819)
Browse files Browse the repository at this point in the history
Signed-off-by: Carina Ursu <[email protected]>
  • Loading branch information
ursucarina authored Oct 9, 2023
1 parent 48f006d commit f9ec9b9
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { partial } from 'lodash';
import { NodeExecutionIdentifier } from 'models/Execution/types';
import { CompiledNode } from 'models/Node/types';
import { RefObject, useMemo, useRef } from 'react';
import { LiteralType } from 'models';
import {
TaskResumeContext,
TaskResumeTypestate,
Expand Down Expand Up @@ -52,9 +53,9 @@ async function loadInputs({ compiledNode }: TaskResumeContext) {
label: 'Signal Input',
name: 'signal',
required: true,
typeDefinition: getInputDefintionForLiteralType({
simple: signalType.simple ?? undefined,
}),
typeDefinition: getInputDefintionForLiteralType(
signalType as LiteralType,
),
},
];

Expand Down

0 comments on commit f9ec9b9

Please sign in to comment.