fixed first name display in userDetails

This commit is contained in:
Calum Mackervoy 2019-12-04 12:27:05 +01:00
parent dbf918f351
commit fa4a1f0b0e
2 changed files with 2 additions and 3 deletions

View File

@ -17,8 +17,7 @@ include templates/hd-user-avatar.pug
details#user-controls
summary(tabindex='0' role='button')
sib-display#user-controls__profile(
fields='firstName, account.picture'
extra-context='{firstName:"first_name"}'
fields='first_name, account.picture'
widget-account.picture='hd-user-avatar'
bind-user
)

View File

@ -157,7 +157,7 @@
width: 45%;
}
sib-display-value[name='firstName'] {
sib-display-value[name='first_name'] {
@include icon('arrow-down');
align-items: center;
display: flex;