Skip to content

Commit

Permalink
feat: added parseEmail to chipInput if contacts is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoGottardi authored and AlessioCoser committed Jul 3, 2024
1 parent 10cef79 commit eb462b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/views/app/detail-panel/edit/parts/recipients-row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import { useIntegratedComponent } from '@zextras/carbonio-shell-ui';
import { map, reject, some } from 'lodash';

import { ParticipantRoleType } from '../../../../../carbonio-ui-commons/constants/participants';
import { Participant } from '../../../../../types';
import styled from 'styled-components';
import { parseEmail } from '../../../../../carbonio-ui-commons/helpers/email-parser';
import styled from 'styled-components';
import { Participant } from '../../../../../types';

const emailRegex =
// eslint-disable-next-line @typescript-eslint/no-unused-vars, max-len, no-control-regex
Expand Down Expand Up @@ -46,7 +46,6 @@ export type RecipientsRowProps = {
* @param orderedAccountIds
* @constructor
*/

export const RecipientsRow: FC<RecipientsRowProps> = ({
type,
label,
Expand Down

0 comments on commit eb462b0

Please sign in to comment.