Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mpdx 7936 delete button api call (#976)
* added graphQL mutation squash * fixed add email functionality * Fix inline email address editing * Fix part of the caching issue. The way the component is using state of the emails is causing the most issues why they aren't updating. The new email gets added but replaces the last email. * added delete functionality and fixed modal issues * Do a bit of cleanup of the code * Fix up the tests now that delete is working * Removing the delete modal and using the confirmationModal instead. I also added tests and improved some of the PR. * Removed unused interface and ensured same data is returned after update. * Update and fix tests. Now testing to ensure the new email gets added by the Star icon rather than checking what gets passed into cache. --------- Co-authored-by: Collin Pastika <[email protected]> Co-authored-by: Bill Randall <[email protected]> Co-authored-by: Daniel Bisgrove <[email protected]>
- Loading branch information