Skip to content
Snippets Groups Projects
Commit 9859d898 authored by Jure's avatar Jure
Browse files

feat: display name and ORCID id of users

parent be643c02
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,8 @@ const User = ({ user }) => {
<UserCombo>
<UserAvatar user={user} />
<UserInfo>
<Primary>{user.username}</Primary>
<Secondary>{user.email || '(via ORCID)'}</Secondary>
<Primary>{user?.defaultIdentity?.name}</Primary>
<Secondary>{`ORCID: ${user?.username}`}</Secondary>
</UserInfo>
</UserCombo>
</Cell>
......
......@@ -37,6 +37,10 @@ const GET_USERS = gql`
admin
email
profilePicture
defaultIdentity {
id
name
}
online
created
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment