File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed
services/static-webserver/client/source Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ qx.Class.define("osparc.dashboard.NewPlusMenu", {
316316 } ) ;
317317 } ) ;
318318
319- this . self ( ) . setIcon ( menuButton , buttonConfig [ "icon" ] || " osparc/icons/diagram.png" ) ;
319+ this . self ( ) . setIcon ( menuButton , buttonConfig [ "icon" ] || osparc . data . model . StudyUI . PIPELINE_ICON ) ;
320320 this . __addFromResourceButton ( menuButton , buttonConfig [ "category" ] ) ;
321321 } ,
322322
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ qx.Class.define("osparc.data.model.StudyUI", {
9595 TUTORIAL_TYPE : "TUTORIAL" ,
9696 HYPERTOOL_TYPE : "HYPERTOOL" ,
9797 HYPERTOOL_ICON : ( iconSize = 22 ) => "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/refs/heads/main/app/icons/hypertool.png" ,
98+ PIPELINE_ICON : "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/refs/heads/main/app/icons/diagram.png" ,
9899 } ,
99100
100101 members : {
Original file line number Diff line number Diff line change @@ -439,7 +439,7 @@ qx.Class.define("osparc.study.Utils", {
439439 __guessIcon : function ( studyData ) {
440440 return new Promise ( resolve => {
441441 if ( studyData [ "ui" ] [ "mode" ] === "pipeline" ) {
442- resolve ( " osparc/icons/diagram.png" ) ;
442+ resolve ( osparc . data . model . StudyUI . PIPELINE_ICON ) ;
443443 } else {
444444 const defaultIcon = osparc . dashboard . CardBase . PRODUCT_ICON ;
445445 // the was to guess the TI type is to check the boot mode of the ti-postpro in the pipeline
@@ -454,7 +454,7 @@ qx.Class.define("osparc.study.Utils", {
454454 resolve ( defaultIcon ) ;
455455 } ) ;
456456 } else {
457- resolve ( " osparc/icons/diagram.png" ) ;
457+ resolve ( osparc . data . model . StudyUI . PIPELINE_ICON ) ;
458458 }
459459 }
460460 } ) ;
You can’t perform that action at this time.
0 commit comments