From 10e5199d8afed637025aa313c828f18cc1bca9d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82?= Date: Thu, 7 Nov 2024 17:35:05 +0100 Subject: [PATCH] chore(dashboard): fixed ts issue with step slug --- .../src/components/workflow-editor/workflow-editor-provider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/components/workflow-editor/workflow-editor-provider.tsx b/apps/dashboard/src/components/workflow-editor/workflow-editor-provider.tsx index 718a4353c8b..9540d1fcdb8 100644 --- a/apps/dashboard/src/components/workflow-editor/workflow-editor-provider.tsx +++ b/apps/dashboard/src/components/workflow-editor/workflow-editor-provider.tsx @@ -47,7 +47,7 @@ const STEP_NAME_BY_TYPE: Record = { const createStep = (type: StepTypeEnum): Step => ({ name: STEP_NAME_BY_TYPE[type], stepId: '', - slug: '_stp_', + slug: '_st_', type, _id: crypto.randomUUID(), });