File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ qx.Class.define("osparc.dashboard.CardBase", {
488488 lastChangeDate : resourceData . lastChangeDate ? new Date ( resourceData . lastChangeDate ) : null ,
489489 trashedAt : resourceData . trashedAt ? new Date ( resourceData . trashedAt ) : null ,
490490 trashedBy : resourceData . trashedBy || null ,
491- icon : [ "study" , "template" ] . includes ( resourceData . resourceType ) ? osparc . study . Utils . suggestIcon ( resourceData ) : this . self ( ) . PRODUCT_ICON ,
491+ icon : [ "study" , "template" ] . includes ( resourceData . resourceType ) ? osparc . study . Utils . guessIcon ( resourceData ) : this . self ( ) . PRODUCT_ICON ,
492492 thumbnail : resourceData . thumbnail || this . self ( ) . PRODUCT_ICON ,
493493 state : resourceData . state ? resourceData . state : { } ,
494494 classifiers : resourceData . classifiers && resourceData . classifiers ? resourceData . classifiers : [ ] ,
Original file line number Diff line number Diff line change @@ -354,9 +354,9 @@ qx.Class.define("osparc.study.Utils", {
354354 return [ "UNKNOWN_SERVICES" , false ] . includes ( blocked ) ;
355355 } ,
356356
357- suggestIcon : function ( studyData ) {
357+ guessIcon : function ( studyData ) {
358358 if ( osparc . product . Utils . isProduct ( "tis" ) || osparc . product . Utils . isProduct ( "tiplite" ) ) {
359- return "https://images.seeklogo.com/logo-png/35/1/jupyter-logo-png_seeklogo-354673 .png" ;
359+ return "osparc/icons/TI .png" ;
360360 }
361361 const uiMode = this . self ( ) . getUiMode ( studyData ) ;
362362 if ( uiMode === "standalone" ) {
You can’t perform that action at this time.
0 commit comments