Ensure step is selected after creation when a new version has to be created (#9218)

Fixes
https://discord.com/channels/1130383047699738754/1318606664202715156/1318606664202715156
This commit is contained in:
Baptiste Devessier
2024-12-24 14:43:10 +01:00
committed by GitHub
parent d2abd59a51
commit 4f329d6005
3 changed files with 34 additions and 2 deletions

View File

@ -0,0 +1,6 @@
import { createState } from 'twenty-ui';
export const workflowLastCreatedStepIdState = createState<string | undefined>({
key: 'workflowLastCreatedStepIdState',
defaultValue: undefined,
});