Skip to content

Commit 9b02b5a

Browse files
odeimaizCopilot
andauthored
Update services/static-webserver/client/source/class/osparc/user/UserDetails.js
Co-authored-by: Copilot <[email protected]>
1 parent 7c79c57 commit 9b02b5a

File tree

1 file changed

+1
-1
lines changed
  • services/static-webserver/client/source/class/osparc/user

1 file changed

+1
-1
lines changed

services/static-webserver/client/source/class/osparc/user/UserDetails.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ qx.Class.define("osparc.user.UserDetails", {
155155

156156
this.getChildControl("thumbnail").setSource(user.createThumbnail(96));
157157
this.getChildControl("username").setValue(user.getUsername());
158-
this.getChildControl("fullname").setValue(user.getFirstName() + " " + user.getLastName());
158+
this.getChildControl("fullname").setValue([user.getFirstName(), user.getLastName()].filter(Boolean).join(" "));
159159
this.getChildControl("email").setValue(user.getEmail());
160160
this.getChildControl("user-id").setValue(String(user.getUserId()));
161161
this.getChildControl("group-id").setValue(String(user.getGroupId()));

0 commit comments

Comments
 (0)