Skip to content

Commit 864f05e

Browse files
committed
Merge branch 'feature/user-profile-details' of github.com:odeimaiz/osparc-simcore into feature/user-profile-details
2 parents dfbb68e + 9b02b5a commit 864f05e

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)