From ca8793e63fa07200e028a98f4fc3923a9e1a7f1a Mon Sep 17 00:00:00 2001 From: Alexandru Munteanu <alexandru.munteanu@thinslices.com> Date: Tue, 23 Jan 2018 13:14:20 +0200 Subject: [PATCH] Prefil add author with non admin user --- .../src/components/AuthorList/AuthorAdder.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/component-wizard/src/components/AuthorList/AuthorAdder.js b/packages/component-wizard/src/components/AuthorList/AuthorAdder.js index be4ffcb7f..9c0b574da 100644 --- a/packages/component-wizard/src/components/AuthorList/AuthorAdder.js +++ b/packages/component-wizard/src/components/AuthorList/AuthorAdder.js @@ -72,10 +72,8 @@ export default compose( if (!admin) { return { initialValues: { - author: { - email, - firstName: username, - }, + email, + firstName: username, }, } } -- GitLab