Skip to content

Commit 1cc62af

Browse files
committed
savingStudyIcon
1 parent c261bcf commit 1cc62af

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ 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 => s ? "visible" : "excluded"
118+
});
119+
115120
// center-items
116121
this.getChildControl("read-only-info");
117122

@@ -202,6 +207,15 @@ qx.Class.define("osparc.navigation.NavigationBar", {
202207
control.addListener("openLogger", () => this.fireEvent("openLogger"));
203208
this.getChildControl("left-items").add(control);
204209
break;
210+
case "saving-study-icon":
211+
control = new qx.ui.basic.Image().set({
212+
toolTipText: this.tr("Saving pipeline..."),
213+
source: "@FontAwesome5Solid/cloud-upload-alt/14",
214+
opacity: 0.8,
215+
// visibility: "excluded",
216+
});
217+
this.getChildControl("left-items").add(control);
218+
break;
205219
case "read-only-info": {
206220
control = new qx.ui.basic.Atom().set({
207221
label: this.tr("Read only"),

0 commit comments

Comments
 (0)