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:
@ -1,9 +1,11 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const OVERRIDE_WORKFLOW_DRAFT_VERSION = gql`
|
||||
export const CREATE_DRAFT_FROM_WORKFLOW_VERSION = gql`
|
||||
mutation CreateDraftFromWorkflowVersion(
|
||||
$input: CreateDraftFromWorkflowVersionInput!
|
||||
) {
|
||||
createDraftFromWorkflowVersion(input: $input)
|
||||
createDraftFromWorkflowVersion(input: $input) {
|
||||
id
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user