Skip to content

Commit e9e790c

Browse files
committed
sort by label
1 parent e9ccc9f commit e9e790c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

services/static-webserver/client/source/class/osparc/desktop/organizations/MembersList.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ qx.Class.define("osparc.desktop.organizations.MembersList", {
7070
if (sorted !== 0) {
7171
return sorted;
7272
}
73-
if (("email" in a) && ("email" in b)) {
74-
return a["email"].localeCompare(b["email"]);
73+
if (("label" in a) && ("label" in b)) {
74+
return a["label"].localeCompare(b["label"]);
7575
}
7676
return 0;
7777
}

services/static-webserver/client/source/class/osparc/desktop/wallets/MembersList.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ qx.Class.define("osparc.desktop.wallets.MembersList", {
7070
if (sorted !== 0) {
7171
return sorted;
7272
}
73-
if (("email" in a) && ("email" in b)) {
74-
return a["email"].localeCompare(b["email"]);
73+
if (("label" in a) && ("label" in b)) {
74+
return a["label"].localeCompare(b["label"]);
7575
}
7676
return 0;
7777
}

0 commit comments

Comments
 (0)