Skip to content

Commit 2fe6de2

Browse files
committed
[skip ci] guessIcon
1 parent 3dc1faf commit 2fe6de2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/static-webserver/client/source/class/osparc/dashboard/CardBase.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 : [],

services/static-webserver/client/source/class/osparc/study/Utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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") {

0 commit comments

Comments
 (0)