diff --git a/packages/components-faraday/src/components/AuthorList/AuthorAdder.js b/packages/components-faraday/src/components/AuthorList/AuthorAdder.js index ee937adff8758ab17d94f24e4c2f05040221aa07..1fc5ae03b70f65eb88d19d947a1e2b7f81800e6a 100644 --- a/packages/components-faraday/src/components/AuthorList/AuthorAdder.js +++ b/packages/components-faraday/src/components/AuthorList/AuthorAdder.js @@ -81,16 +81,23 @@ export default compose( authorFailure, }, ), - withProps(({ currentUser: { admin, username, email }, authors }) => { - if (!admin && authors.length === 0) { - return { - initialValues: { - email, - firstName: username, - }, + withProps( + ({ + currentUser: { admin, affiliation, firstName, lastName, email }, + authors, + }) => { + if (!admin && authors.length === 0) { + return { + initialValues: { + affiliation, + email, + firstName, + lastName, + }, + } } - } - }), + }, + ), reduxForm({ form: 'author', enableReinitialize: true,