Skip to content

Commit ea01638

Browse files
committed
public
1 parent 9cc4798 commit ea01638

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,7 @@ qx.Class.define("osparc.dashboard.FolderButtonItem", {
230230
}
231231
},
232232

233-
// overridden
234-
_applyTitle: function(value) {
233+
__applyTitle: function(value) {
235234
const label = this.getChildControl("title");
236235
label.set({
237236
value,

services/static-webserver/client/source/class/osparc/ui/list/CollaboratorListItem.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,13 @@ qx.Class.define("osparc.ui.list.CollaboratorListItem", {
118118
if (value === null) {
119119
return;
120120
}
121+
const groupsStore = osparc.store.Groups.getInstance();
122+
const everyoneGroupIds = [
123+
groupsStore.getEveryoneProductGroup().getGroupId(),
124+
groupsStore.getEveryoneGroup().getGroupId(),
125+
];
121126
const label = this.getChildControl("title");
122-
if (this.isPropertyInitialized("collabType") && this.getCollabType() === 0) {
127+
if (everyoneGroupIds.includes(this.getModel())) {
123128
label.setValue(this.tr("Public"));
124129
} else {
125130
label.setValue(value);

0 commit comments

Comments
 (0)