Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-jams
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-jams
Commits
2ac96f70
Commit
2ac96f70
authored
4 years ago
by
Larbi Gharib
Browse files
Options
Downloads
Patches
Plain Diff
User name concatenated
Change-Id: I0b346381124e004026638e0d8360e56a7f66b0b9
parent
642e3e5b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jams-react-client/src/views/UserProfile/DisplayUserProfile.js
+3
-13
3 additions, 13 deletions
...-react-client/src/views/UserProfile/DisplayUserProfile.js
with
3 additions
and
13 deletions
jams-react-client/src/views/UserProfile/DisplayUserProfile.js
+
3
−
13
View file @
2ac96f70
...
...
@@ -416,7 +416,7 @@ export default function DisplayUserProfile(props) {
<
div
className
=
{
classes
.
userProfileHeader
}
>
<
div
>
<
h3
className
=
{
classes
.
cardTitle
}
>
{
user
.
username
?
user
.
username
:
"
no username
"
}
{
user
.
username
}
<
/h3
>
{
getUserStatus
()}
<
/div
>
...
...
@@ -434,14 +434,14 @@ export default function DisplayUserProfile(props) {
<
/Grid
>
<
Grid
item
xs
=
{
12
}
sm
=
{
12
}
md
=
{
6
}
>
<
List
dense
=
{
false
}
>
{
user
.
firstName
&&
(
{
(
user
.
firstName
||
user
.
lastName
)
&&
(
<
ListItem
>
<
ListItemAvatar
>
<
Avatar
>
<
PersonIcon
/>
<
/Avatar
>
<
/ListItemAvatar
>
<
ListItemText
primary
=
{
user
.
firstName
}
/
>
<
ListItemText
primary
=
{
`
${
user
.
firstName
}
${
user
.
lastName
}
`
}
/
>
<
/ListItem
>
)}
{
user
.
phoneNumber
&&
(
...
...
@@ -479,16 +479,6 @@ export default function DisplayUserProfile(props) {
<
Grid
item
xs
=
{
12
}
sm
=
{
12
}
md
=
{
6
}
>
<
List
dense
=
{
false
}
>
{
user
.
lastName
&&
(
<
ListItem
>
<
ListItemAvatar
>
<
Avatar
>
<
PersonOutlinedIcon
/>
<
/Avatar
>
<
/ListItemAvatar
>
<
ListItemText
primary
=
{
user
.
lastName
}
/
>
<
/ListItem
>
)}
{
user
.
phoneNumberExtension
&&
(
<
ListItem
>
<
ListItemAvatar
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment