We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c79c57 commit 9b02b5aCopy full SHA for 9b02b5a
services/static-webserver/client/source/class/osparc/user/UserDetails.js
@@ -155,7 +155,7 @@ qx.Class.define("osparc.user.UserDetails", {
155
156
this.getChildControl("thumbnail").setSource(user.createThumbnail(96));
157
this.getChildControl("username").setValue(user.getUsername());
158
- this.getChildControl("fullname").setValue(user.getFirstName() + " " + user.getLastName());
+ this.getChildControl("fullname").setValue([user.getFirstName(), user.getLastName()].filter(Boolean).join(" "));
159
this.getChildControl("email").setValue(user.getEmail());
160
this.getChildControl("user-id").setValue(String(user.getUserId()));
161
this.getChildControl("group-id").setValue(String(user.getGroupId()));
0 commit comments