Skip to content

Commit ce84dcd

Browse files
committed
renaming
1 parent ba94edd commit ce84dcd

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ qx.Class.define("osparc.dashboard.TemplateBrowser", {
191191
const workbench = newStudyData["workbench"];
192192
const nodesIdsListed = [];
193193
Object.keys(workbench).forEach(nodeId => {
194-
const node = workbench[nodeId];
195-
if (osparc.study.StudyPricingUnits.includeInList(node)) {
194+
const nodeData = workbench[nodeId];
195+
if (osparc.study.StudyPricingUnits.includeInList(nodeData)) {
196196
nodesIdsListed.push(nodeId);
197197
}
198198
});

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ qx.Class.define("osparc.study.StudyPricingUnits", {
3838
},
3939

4040
statics: {
41-
includeInList: function(node) {
42-
return !osparc.data.model.Node.isFrontend(node);
41+
includeInList: function(nodeData) {
42+
return !osparc.data.model.Node.isFrontend(nodeData);
4343
},
4444
},
4545

@@ -61,9 +61,9 @@ qx.Class.define("osparc.study.StudyPricingUnits", {
6161
if ("workbench" in this.__studyData) {
6262
const workbench = this.__studyData["workbench"];
6363
Object.keys(workbench).forEach(nodeId => {
64-
const node = workbench[nodeId];
65-
if (this.self().includeInList(node)) {
66-
const nodePricingUnits = new osparc.study.NodePricingUnits(this.__studyData["uuid"], nodeId, node);
64+
const nodeData = workbench[nodeId];
65+
if (this.self().includeInList(nodeData)) {
66+
const nodePricingUnits = new osparc.study.NodePricingUnits(this.__studyData["uuid"], nodeId, nodeData);
6767
this.__nodePricingUnits.push(nodePricingUnits);
6868
this._add(nodePricingUnits);
6969
promises.push(nodePricingUnits.showPricingUnits());

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ qx.Class.define("osparc.study.Utils", {
359359
},
360360

361361
getNonFrontendNodes: function(studyData) {
362-
return Object.values(studyData["workbench"]).filter(node => !osparc.data.model.Node.isFrontend(node));
362+
return Object.values(studyData["workbench"]).filter(nodeData => !osparc.data.model.Node.isFrontend(nodeData));
363363
},
364364

365365
guessIcon: function(studyData) {

0 commit comments

Comments
 (0)