Skip to content

Commit 6f1a14d

Browse files
committed
minors
1 parent aa6cfce commit 6f1a14d

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

services/static-webserver/client/source/class/osparc/dashboard/CardBase.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,9 @@ qx.Class.define("osparc.dashboard.CardBase", {
921921
usernames.push(user.getUsername());
922922
});
923923
})
924+
.catch(error => {
925+
console.error("Failed to fetch user data for avatars:", error);
926+
})
924927
.finally(() => {
925928
switch (status) {
926929
case "CLOSING":

services/static-webserver/client/source/class/osparc/navigation/NavigationBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ qx.Class.define("osparc.navigation.NavigationBar", {
255255
const maxWidth = osparc.WindowSizeTracker.getInstance().isCompactVersion() ? 80 : 150;
256256
control = new osparc.ui.basic.AvatarGroup(26, "right", maxWidth).set({
257257
alignY: "middle",
258-
});;
258+
});
259259
this.getChildControl("right-items").add(control);
260260
break;
261261
}

services/static-webserver/client/source/class/osparc/ui/basic/AvatarGroup.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ qx.Class.define("osparc.ui.basic.AvatarGroup", {
6868
});
6969
});
7070
this.__buildAvatars(users);
71+
})
72+
.catch(error => {
73+
console.error("Failed to fetch user data for avatars:", error);
7174
});
7275
},
7376

0 commit comments

Comments
 (0)