Skip to content

Commit c03fdaa

Browse files
committed
minor
1 parent 4799202 commit c03fdaa

File tree

1 file changed

+4
-1
lines changed
  • services/static-webserver/client/source/class/osparc/store

1 file changed

+4
-1
lines changed

services/static-webserver/client/source/class/osparc/store/Support.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,15 @@ qx.Class.define("osparc.store.Support", {
160160
},
161161

162162
getMailToLabel: function(email, subject) {
163-
const mailto = new qx.ui.basic.Label(this.mailToLink(email, subject, false)).set({
163+
const mailto = new qx.ui.basic.Label().set({
164164
font: "text-14",
165165
allowGrowX: true, // let it grow to make it easier to select
166166
selectable: true,
167167
rich: true,
168168
});
169+
if (email) {
170+
mailto.setValue(this.mailToLink(email, subject, false));
171+
}
169172
return mailto;
170173
},
171174

0 commit comments

Comments
 (0)