Fix send email error when empty connected account (#10005)

- Fix send email error when empty connected account
- Add a global util to valid uuid
- Add an util to check if object is workflow related
This commit is contained in:
Thomas Trompette
2025-02-04 17:13:29 +01:00
committed by GitHub
parent 0113e40399
commit 7dfb9dd77f
12 changed files with 39 additions and 34 deletions

View File

@ -16,9 +16,8 @@ import { WorkflowVariablesDropdown } from '@/workflow/workflow-variables/compone
import { css } from '@emotion/react';
import styled from '@emotion/styled';
import { useCallback } from 'react';
import { isDefined } from 'twenty-shared';
import { isDefined, isValidUuid } from 'twenty-shared';
import { IconChevronDown, IconForbid, LightIconButton } from 'twenty-ui';
import { isValidUuid } from '~/utils/isValidUuid';
const StyledFormSelectContainer = styled(FormFieldInputInputContainer)`
justify-content: space-between;