diff --git a/apps/dashboard/src/components/workflow-editor/add-step-menu.tsx b/apps/dashboard/src/components/workflow-editor/add-step-menu.tsx index a8afc524d68..9c637cc0962 100644 --- a/apps/dashboard/src/components/workflow-editor/add-step-menu.tsx +++ b/apps/dashboard/src/components/workflow-editor/add-step-menu.tsx @@ -53,7 +53,7 @@ const MenuItem = ({ {children} {disabled && ( - soon + coming soon )} diff --git a/apps/dashboard/src/components/workflow-editor/configure-workflow.tsx b/apps/dashboard/src/components/workflow-editor/configure-workflow.tsx index 860e57cf4cf..0b9174ed6e3 100644 --- a/apps/dashboard/src/components/workflow-editor/configure-workflow.tsx +++ b/apps/dashboard/src/components/workflow-editor/configure-workflow.tsx @@ -67,6 +67,7 @@ export function ConfigureWorkflow() { ( Workflow Name @@ -82,6 +83,7 @@ export function ConfigureWorkflow() { ( Workflow Identifier diff --git a/apps/dashboard/src/components/workflow-editor/nodes.tsx b/apps/dashboard/src/components/workflow-editor/nodes.tsx index a93228d0b9d..1bc347ede23 100644 --- a/apps/dashboard/src/components/workflow-editor/nodes.tsx +++ b/apps/dashboard/src/components/workflow-editor/nodes.tsx @@ -235,7 +235,7 @@ export const AddNode = (_props: NodeProps) => { } return ( -
+
{ }); const { step } = useFetchStep({ workflowSlug, stepSlug }); - const stepType = useMemo(() => workflow?.steps.find((el) => el.slug === stepSlug)?.type, [stepSlug, workflow]); + const stepType = useMemo( + () => workflow?.steps.find((el) => getStepBase62Id(el.slug) === getStepBase62Id(stepSlug))?.type, + [stepSlug, workflow] + ); const handleCloseSidebar = () => { navigate('../', { relative: 'path' }); diff --git a/apps/dashboard/src/components/workflow-list.tsx b/apps/dashboard/src/components/workflow-list.tsx index 4419764bdd0..ba4fb6e895d 100644 --- a/apps/dashboard/src/components/workflow-list.tsx +++ b/apps/dashboard/src/components/workflow-list.tsx @@ -102,7 +102,7 @@ export const WorkflowList = () => { ) : ( <> {workflowsQuery.data.workflows.map((workflow) => ( - + ))} )} diff --git a/apps/dashboard/src/components/workflow-steps.tsx b/apps/dashboard/src/components/workflow-steps.tsx index 4711097bb70..74a395989cb 100644 --- a/apps/dashboard/src/components/workflow-steps.tsx +++ b/apps/dashboard/src/components/workflow-steps.tsx @@ -22,8 +22,8 @@ export const WorkflowSteps = (props: WorkflowStepsProps) => { return (
<> - {firstSteps.map((step) => ( - + {firstSteps.map((step, idx) => ( + ))} {restSteps.length > 1 && +{restSteps.length}}