Skip to content

Commit 9c61212

Browse files
committed
no icon yet
1 parent c8ce874 commit 9c61212

File tree

1 file changed

+0
-19
lines changed
  • services/static-webserver/client/source/class/osparc/data/model

1 file changed

+0
-19
lines changed

services/static-webserver/client/source/class/osparc/data/model/Study.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ qx.Class.define("osparc.data.model.Study", {
6161
dev: studyData.dev || this.getDev(),
6262
trashedAt: studyData.trashedAt ? new Date(studyData.trashedAt) : this.getTrashedAt(),
6363
trashedBy: studyData.trashedBy || null,
64-
icon: this.self().getIcon(studyData),
6564
});
6665

6766
const wbData = studyData.workbench || this.getWorkbench();
@@ -226,13 +225,6 @@ qx.Class.define("osparc.data.model.Study", {
226225
init: null,
227226
event: "changeTrashedBy",
228227
},
229-
230-
icon: {
231-
check: "String",
232-
nullable: false,
233-
event: "changeIcon",
234-
init: ""
235-
},
236228
// ------ ignore for serializing ------
237229
},
238230

@@ -243,7 +235,6 @@ qx.Class.define("osparc.data.model.Study", {
243235
"pipelineRunning",
244236
"readOnly",
245237
"trashedAt",
246-
"icon",
247238
],
248239

249240
IgnoreModelizationProps: [
@@ -317,16 +308,6 @@ qx.Class.define("osparc.data.model.Study", {
317308
return false;
318309
},
319310

320-
getIcon: function(studyData) {
321-
let icon = "";
322-
if (this.getUiMode(studyData) === "standalone") {
323-
return "@FontAwesome5Solid/user/14";
324-
} else if (this.getUiMode(studyData) === "workbench") {
325-
return "@FontAwesome5Solid/globe/14";
326-
}
327-
return icon;
328-
},
329-
330311
getUiMode: function(studyData) {
331312
if ("ui" in studyData && "mode" in studyData["ui"]) {
332313
return studyData["ui"]["mode"];

0 commit comments

Comments
 (0)