File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
services/static-webserver/client/source/class/osparc/study Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -442,7 +442,7 @@ qx.Class.define("osparc.study.Utils", {
442442 if ( studyData [ "ui" ] [ "mode" ] === "pipeline" ) {
443443 resolve ( osparc . data . model . StudyUI . PIPELINE_ICON ) ;
444444 } else {
445- const defaultIcon = osparc . dashboard . CardBase . PRODUCT_ICON ;
445+ const productIcon = osparc . dashboard . CardBase . PRODUCT_ICON ;
446446 // the was to guess the TI type is to check the boot mode of the ti-postpro in the pipeline
447447 const wbServices = this . self ( ) . getNonFrontendNodes ( studyData ) ;
448448 if ( wbServices . length === 1 ) {
@@ -452,8 +452,9 @@ qx.Class.define("osparc.study.Utils", {
452452 if ( serviceMetadata && serviceMetadata [ "icon" ] ) {
453453 resolve ( serviceMetadata [ "icon" ] ) ;
454454 }
455- resolve ( defaultIcon ) ;
456- } ) ;
455+ resolve ( productIcon ) ;
456+ } )
457+ . catch ( ( ) => resolve ( productIcon ) ) ;
457458 } else {
458459 resolve ( osparc . data . model . StudyUI . PIPELINE_ICON ) ;
459460 }
You can’t perform that action at this time.
0 commit comments