Skip to content

Commit 08500ff

Browse files
committed
leased
1 parent 860e167 commit 08500ff

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

services/static-webserver/client/source/class/osparc/vipStore/AnatomicalModelListItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ qx.Class.define("osparc.vipStore.AnatomicalModelListItem", {
3333

3434
this.set({
3535
padding: 5,
36-
minHeight: 48,
36+
height: 48,
3737
alignY: "middle",
3838
});
3939

services/static-webserver/client/source/class/osparc/vipStore/VIPStore.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ qx.Class.define("osparc.vipStore.VIPStore", {
4646
} else {
4747
curatedModel[key] = model[key];
4848
}
49-
if (key === "ID" && [22].includes(model[key])) {
50-
curatedModel["leased"] = true;
49+
if (key === "ID") {
50+
curatedModel["leased"] = [22].includes(model[key]);
5151
}
5252
});
5353
anatomicalModels.push(curatedModel);
@@ -169,6 +169,7 @@ qx.Class.define("osparc.vipStore.VIPStore", {
169169
anatomicalModel["thumbnail"] = model["Thumbnail"];
170170
anatomicalModel["name"] = model["Features"]["name"] + " " + model["Features"]["version"];
171171
anatomicalModel["date"] = new Date(model["Features"]["date"]);
172+
anatomicalModel["leased"] = model["leased"];
172173
models.push(anatomicalModel);
173174
});
174175

0 commit comments

Comments
 (0)