Fix use as draft (#9718)
- remove delete serverless function when archiving workflow version - update copy serverless function to reset serverless function to old version - remove createNewWorkflowVersion and use createDraftFromWorkflowVersion - fix step update issue and optimistic rendering when generate draft from active version
This commit is contained in:
@ -24,7 +24,7 @@ export const wrapHeadingsWithAnchor = (children: ReactNode): ReactNode => {
|
||||
.replace(/\s+/g, '-')
|
||||
.toLowerCase();
|
||||
return cloneElement(child as ReactElement<any>, {
|
||||
id: id,
|
||||
id,
|
||||
className: 'anchor',
|
||||
children: <a href={`#${id}`}>{child.props.children}</a>,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user