Skip to content

Commit 53dd3fa

Browse files
committed
expose cleanAll
1 parent 95296ab commit 53dd3fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ qx.Class.define("osparc.dashboard.ResourceContainerManager", {
263263
this.__resourcesList = resourcesList;
264264
},
265265

266-
__cleanAll: function() {
266+
cleanAll: function() {
267267
if (this.__workspacesContainer) {
268268
this.__workspacesContainer.removeAll();
269269
}
@@ -302,7 +302,7 @@ qx.Class.define("osparc.dashboard.ResourceContainerManager", {
302302
},
303303

304304
__rebuildLayout: function(resourceType) {
305-
this.__cleanAll();
305+
this.cleanAll();
306306
if (osparc.utils.DisabledPlugins.isFoldersEnabled()) {
307307
this.__addFoldersContainer();
308308
}
@@ -365,7 +365,7 @@ qx.Class.define("osparc.dashboard.ResourceContainerManager", {
365365
},
366366

367367
reloadWorkspaces: function() {
368-
this.__cleanAll();
368+
this.cleanAll();
369369
this._add(this.__workspacesContainer);
370370
let workspacesCards = [];
371371
this.__workspacesList.forEach(workspaceData => workspacesCards.push(this.__workspaceToCard(workspaceData)));

0 commit comments

Comments
 (0)