Skip to content

Commit 8e67c03

Browse files
committed
minor
1 parent 3ed14f7 commit 8e67c03

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ qx.Class.define("osparc.dashboard.GridButtonItem", {
224224
}
225225
},
226226

227-
createOwner: function(label) {
227+
__createOwner: function(label) {
228228
if (label === osparc.auth.Data.getInstance().getEmail()) {
229229
const resourceAlias = osparc.utils.Utils.resourceTypeToAlias(this.getResourceType());
230230
return qx.locale.Manager.tr(`My ${resourceAlias}`);
@@ -235,7 +235,7 @@ qx.Class.define("osparc.dashboard.GridButtonItem", {
235235
// overridden
236236
_applyOwner: function(value, old) {
237237
const label = this.getChildControl("subtitle-text");
238-
const user = this.createOwner(value);
238+
const user = this.__createOwner(value);
239239
label.setValue(user);
240240
label.setVisibility(value ? "visible" : "excluded");
241241
},

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ qx.Class.define("osparc.dashboard.ListButtonItem", {
212212
}
213213
},
214214

215-
createOwner: function(label) {
215+
__createOwner: function(label) {
216216
if (label === osparc.auth.Data.getInstance().getEmail()) {
217217
const resourceAlias = osparc.utils.Utils.resourceTypeToAlias(this.getResourceType());
218218
return qx.locale.Manager.tr(`My ${resourceAlias}`);
@@ -222,7 +222,7 @@ qx.Class.define("osparc.dashboard.ListButtonItem", {
222222

223223
_applyOwner: function(value, old) {
224224
const label = this.getChildControl("owner");
225-
const user = this.createOwner(value);
225+
const user = this.__createOwner(value);
226226
label.setValue(user);
227227
this.__makeItemResponsive(label);
228228
return;

0 commit comments

Comments
 (0)