Skip to content

Commit f2e32ba

Browse files
committed
Empty bin Not yet implemented
1 parent 5e3e8b5 commit f2e32ba

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
197197
this.__setWorkspacesToList(workspaces);
198198
if (this.getCurrentContext() === "trash") {
199199
if (workspaces.length) {
200-
this.__header.getChildControl("empty-trash-button").show();
200+
// Not yet implemented
201+
// this.__header.getChildControl("empty-trash-button").show();
201202
}
202203
}
203204
})
@@ -243,7 +244,8 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
243244
this.__setFoldersToList(folders);
244245
if (this.getCurrentContext() === "trash") {
245246
if (folders.length) {
246-
this.__header.getChildControl("empty-trash-button").show();
247+
// Not yet implemented
248+
// this.__header.getChildControl("empty-trash-button").show();
247249
}
248250
}
249251
})
@@ -311,7 +313,8 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
311313

312314
if (this.getCurrentContext() === "trash") {
313315
if (this._resourcesList.length) {
314-
this.__header.getChildControl("empty-trash-button").show();
316+
// Not yet implemented
317+
// this.__header.getChildControl("empty-trash-button").show();
315318
}
316319
}
317320

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ qx.Class.define("osparc.dashboard.StudyBrowserHeader", {
197197
appearance: "danger-button",
198198
allowGrowY: false,
199199
alignY: "middle",
200+
visibility: "excluded", // Not yet implemented
200201
});
201202
control.addListener("execute", () => this.fireEvent("emptyTrashRequested"));
202203
this._addAt(control, this.self().POS.EMPTY_TRASH_BUTTON);

0 commit comments

Comments
 (0)