Skip to content

Commit 156feea

Browse files
committed
Merge branch 'feature/templates-in-project-browser' of github.com:odeimaiz/osparc-simcore into feature/templates-in-project-browser
2 parents dfe65a9 + 3c726a9 commit 156feea

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

services/static-webserver/client/source/class/osparc/info/ServiceLarge.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,10 @@ qx.Class.define("osparc.info.ServiceLarge", {
392392

393393
__createThumbnail: function(maxWidth, maxHeight = 160) {
394394
// make sure maxs are not larger than the mins
395-
const minWidth = Math.max(120, maxWidth);
396-
const minHeight = Math.max(139, maxHeight);
397-
maxWidth = Math.max(minWidth, maxWidth);
398-
maxHeight = Math.max(minHeight, maxHeight);
395+
const enforcedMinWidth = Math.max(120, maxWidth);
396+
const enforcedMinHeight = Math.max(139, maxHeight);
397+
maxWidth = Math.max(enforcedMinWidth, maxWidth);
398+
maxHeight = Math.max(enforcedMinHeight, maxHeight);
399399

400400
const serviceData = this.getService();
401401
const thumbnail = osparc.info.Utils.createThumbnail(maxWidth, maxHeight);

services/static-webserver/client/source/class/osparc/jobs/RunsTable.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,7 @@ qx.Class.define("osparc.jobs.RunsTable", {
181181
.then(() => osparc.FlashMessenger.logAs(this.tr("Stopping pipeline"), "INFO"))
182182
.catch(err => osparc.FlashMessenger.logError(err));
183183
}
184-
}
185-
, this);
184+
}, this);
186185
},
187186
}
188187
});

0 commit comments

Comments
 (0)