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 b77e673 commit 31fdcedCopy full SHA for 31fdced
services/static-webserver/client/source/class/osparc/user/UserDetails.js
@@ -164,9 +164,15 @@ qx.Class.define("osparc.user.UserDetails", {
164
}
165
};
166
osparc.data.Resources.fetch("poUsers", "searchByGroupId", params)
167
- .then(userData => {
168
- if (userData.length === 1) {
169
- console.log(userData[0]);
+ .then(usersData => {
+ if (usersData.length === 1) {
+ const userData = usersData[0];
170
+ // curate data
171
+ userData["groupId"] = userGroupId;
172
+ userData["userId"] = -1; // fix this
173
+ userData["userName"] = "userName"; // fix this
174
+ const user = new osparc.data.model.User(userData);
175
+ this.setUser(user);
176
177
})
178
.catch(err => {
0 commit comments