Fix e2e tests and "Use as Draft" (#12536)
Closes https://github.com/twentyhq/twenty/issues/12535
This commit is contained in:
committed by
GitHub
parent
cf63bd25e3
commit
c8ad9f149c
@ -5,14 +5,12 @@ import {
|
||||
StyledCenteredButton,
|
||||
} from '@/ui/layout/modal/components/ConfirmationModal';
|
||||
import { useModal } from '@/ui/layout/modal/hooks/useModal';
|
||||
import { OVERRIDE_WORKFLOW_DRAFT_CONFIRMATION_MODAL_ID } from '@/workflow/constants/OverrideWorkflowDraftConfirmationModalId';
|
||||
import { useCreateDraftFromWorkflowVersion } from '@/workflow/hooks/useCreateDraftFromWorkflowVersion';
|
||||
import { t } from '@lingui/core/macro';
|
||||
import { useNavigateApp } from '~/hooks/useNavigateApp';
|
||||
import { getAppPath } from '~/utils/navigation/getAppPath';
|
||||
|
||||
const OVERRIDE_WORKFLOW_DRAFT_CONFIRMATION_MODAL_ID =
|
||||
'override-workflow-draft-confirmation-modal';
|
||||
|
||||
export const OverrideWorkflowDraftConfirmationModal = ({
|
||||
workflowId,
|
||||
workflowVersionIdToCopy,
|
||||
|
||||
Reference in New Issue
Block a user