File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
services/static-webserver/client/source/class/osparc/navigation Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff 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" ) ;
You can’t perform that action at this time.
0 commit comments