Skip to content

Commit c261002

Browse files
committed
minor
1 parent 7060596 commit c261002

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

services/static-webserver/client/source/class/osparc/support/SupportCenter.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,18 @@ qx.Class.define("osparc.support.SupportCenter", {
8787
control = new qx.ui.container.Composite(new qx.ui.layout.VBox(15));
8888
this.getChildControl("stack-layout").add(control);
8989
break;
90-
case "conversations-intro-text":
90+
case "conversations-intro-text": {
9191
control = new qx.ui.basic.Label().set({
92-
value: this.tr("Welcome to the Support Center<br>Ask us anything, or share your feedback."),
9392
rich: true,
9493
font: "text-14",
9594
});
95+
const isSupportUser = osparc.store.Products.getInstance().amIASupportUser();
96+
control.set({
97+
value: isSupportUser ? this.tr("Here all the support questions") : this.tr("Ask us anything, or share your feedback."),
98+
});
9699
this.getChildControl("conversations-layout").add(control);
97100
break;
101+
}
98102
case "conversations-list": {
99103
control = new osparc.support.Conversations();
100104
control.addListener("openConversation", e => {

0 commit comments

Comments
 (0)