Skip to content

Commit 24665e2

Browse files
committed
show email on label
1 parent b200bae commit 24665e2

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

services/static-webserver/client/source/class/osparc/filter/CollaboratorToggleButton.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ qx.Class.define("osparc.filter.CollaboratorToggleButton", {
2323
appearance: "tagbutton"
2424
});
2525

26-
const label = collaborator.getLabel();
26+
let label = collaborator.getLabel();
27+
if ("getEmail" in collaborator && collaborator.getEmail()) {
28+
label += ` (${collaborator.getEmail()})`;
29+
}
2730
this.setLabel(label);
31+
2832
if (collaborator.getDescription()) {
29-
const ttt = label + "<br>" + collaborator.getDescription();
33+
const ttt = collaborator.getLabel() + "<br>" + collaborator.getDescription();
3034
this.setToolTipText(ttt);
3135
}
3236

services/static-webserver/client/source/class/osparc/share/NewCollaboratorsManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ qx.Class.define("osparc.share.NewCollaboratorsManager", {
1818
showMaximize: false,
1919
autoDestroy: true,
2020
modal: true,
21-
width: 300,
21+
width: 350,
2222
maxHeight: 500,
2323
clickAwayClose: true
2424
});

0 commit comments

Comments
 (0)