@@ -90,14 +90,6 @@ qx.Class.define("osparc.metadata.ServicesInStudyUpdate", {
9090 const inaccessibleLabel = new qx . ui . basic . Label ( inaccessibleText ) ;
9191 labels . push ( inaccessibleLabel ) ;
9292 }
93- if ( this . self ( ) . anyServiceDeprecated ( this . _studyData ) ) {
94- let deprecatedText = this . tr ( "Services marked in yellow are deprecated, they will be retired soon." ) ;
95- if ( canIWrite ) {
96- deprecatedText += " " + this . tr ( "They can be updated by pressing the Update button." ) ;
97- }
98- const deprecatedLabel = new qx . ui . basic . Label ( deprecatedText ) ;
99- labels . push ( deprecatedLabel ) ;
100- }
10193 if ( this . self ( ) . anyServiceRetired ( this . _studyData ) ) {
10294 let retiredText = this . tr ( "Services marked in red are retired: you cannot use them anymore." ) ;
10395 if ( canIWrite ) {
@@ -109,6 +101,14 @@ qx.Class.define("osparc.metadata.ServicesInStudyUpdate", {
109101 const retiredLabel = new qx . ui . basic . Label ( retiredText ) ;
110102 labels . push ( retiredLabel ) ;
111103 }
104+ if ( this . self ( ) . anyServiceDeprecated ( this . _studyData ) ) {
105+ let deprecatedText = this . tr ( "Services marked in yellow are deprecated, they will be retired soon." ) ;
106+ if ( canIWrite ) {
107+ deprecatedText += " " + this . tr ( "They can be updated by pressing the Update button." ) ;
108+ }
109+ const deprecatedLabel = new qx . ui . basic . Label ( deprecatedText ) ;
110+ labels . push ( deprecatedLabel ) ;
111+ }
112112 const updatableServices = this . self ( ) . updatableNodeIds ( this . _studyData [ "workbench" ] ) ;
113113 if ( updatableServices . length === 0 ) {
114114 const upToDateText = this . tr ( "All services are up to date to their latest compatible version." ) ;
0 commit comments