Skip to content

Commit 645d73c

Browse files
committed
only in master
1 parent f0f8eb9 commit 645d73c

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

services/static-webserver/client/source/class/osparc/navigation/NavigationBar.js

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,20 @@ qx.Class.define("osparc.navigation.NavigationBar", {
112112
converter: s => s ? "visible" : "excluded"
113113
});
114114

115-
const savingStudyIcon = this.getChildControl("saving-study-icon");
116-
this.bind("study", savingStudyIcon, "visibility", {
117-
converter: s => {
118-
if (s) {
119-
s.addListener("changeSavePending", e => {
120-
const isSaving = e.getData();
121-
savingStudyIcon.setVisibility(isSaving ? "visible" : "excluded");
122-
});
115+
if (osparc.utils.Utils.isDevelopmentPlatform()) {
116+
const savingStudyIcon = this.getChildControl("saving-study-icon");
117+
this.bind("study", savingStudyIcon, "visibility", {
118+
converter: s => {
119+
if (s) {
120+
s.addListener("changeSavePending", e => {
121+
const isSaving = e.getData();
122+
savingStudyIcon.setVisibility(isSaving ? "visible" : "excluded");
123+
});
124+
}
125+
return "excluded";
123126
}
124-
return "excluded";
125-
}
126-
});
127+
});
128+
}
127129

128130
// center-items
129131
this.getChildControl("read-only-info");

0 commit comments

Comments
 (0)