Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#3249] fixed bug contacts #3259

Conversation

AudreyKj
Copy link
Contributor

@AudreyKj AudreyKj commented Jun 7, 2022

closes #3249

@github-actions github-actions bot added the fix label Jun 7, 2022
@@ -56,7 +55,7 @@ const ContactDetails = (props: ContactDetailsProps) => {
}, [cancelEditing]);

const handleUpdateContact = () => {
updateContactDetails(conversationId, {id: contact.id, via: {email, phone}, title, organizationName: organization});
updateContactDetails({id: contact.id, via: {email, phone}, title, organizationName: organization});
};
Copy link
Contributor Author

@AudreyKj AudreyKj Jun 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the conversationId from the payload to update contact details because we're storing contacts by contact id.

@AudreyKj AudreyKj force-pushed the bug/3249-page-breaks-when-editing-contact-display-name-from-contacts-entity branch from 71e65ce to c714150 Compare June 7, 2022 15:10
Copy link
Contributor

@stayprodio stayprodio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AudreyKj AudreyKj merged commit f0466fc into develop Jun 7, 2022
@AudreyKj AudreyKj deleted the bug/3249-page-breaks-when-editing-contact-display-name-from-contacts-entity branch June 7, 2022 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Page breaks when editing Contact "display_name" from Contacts entity
2 participants