Skip to content

Commit fc8120f

Browse files
committed
if support is enabled, ignore the email option
1 parent 53ce789 commit fc8120f

File tree

1 file changed

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

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ qx.Class.define("osparc.store.Support", {
212212
callback = () => window.open(supportInfo["url"]);
213213
break;
214214
case "email":
215+
if (osparc.store.Groups.getInstance().isSupportEnabled()) {
216+
// if support is enabled, ignore the email option
217+
return;
218+
}
215219
icon = "@FontAwesome5Solid/envelope/14";
216220
callback = () => this.__openSendEmailFeedbackDialog(supportInfo["email"]);
217221
break;

0 commit comments

Comments
 (0)