Skip to content

Commit 076c35b

Browse files
committed
minor
1 parent d7510e1 commit 076c35b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ qx.Class.define("osparc.dashboard.ResourceContainerManager", {
296296
});
297297
},
298298

299-
reloadCards: function(resourceType) {
299+
__rebuildLayout: function(resourceType) {
300300
this.__cleanAll();
301301
if (osparc.utils.DisabledPlugins.isFoldersEnabled()) {
302302
this.__addFoldersContainer();
@@ -321,8 +321,12 @@ qx.Class.define("osparc.dashboard.ResourceContainerManager", {
321321
});
322322
this._add(this.__nonGroupedContainer);
323323
}
324+
},
324325

325-
let cards = [];
326+
reloadCards: function(resourceType) {
327+
this.__rebuildLayout(resourceType);
328+
329+
const cards = [];
326330
this.__resourcesList.forEach(resourceData => {
327331
Array.prototype.push.apply(cards, this.__resourceToCards(resourceData));
328332
});

0 commit comments

Comments
 (0)