Skip to content

Commit a70c0e7

Browse files
committed
listing files
1 parent b2d4078 commit a70c0e7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ qx.Class.define("osparc.dashboard.CardContainer", {
2727
return (
2828
widget instanceof osparc.dashboard.CardBase ||
2929
widget instanceof osparc.dashboard.FolderButtonBase ||
30-
widget instanceof osparc.dashboard.WorkspaceButtonBase
30+
widget instanceof osparc.dashboard.WorkspaceButtonBase ||
31+
widget instanceof osparc.dashboard.FileButtonBase
3132
);
3233
},
3334
},

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ qx.Class.define("osparc.dashboard.ResourceContainerManager", {
2929

3030
this.__workspacesList = [];
3131
this.__foldersList = [];
32+
this.__filesList = [];
3233
this.__resourcesList = [];
3334
this.__groupedContainersList = [];
3435
this.__resourceType = resourceType || "study";
@@ -41,6 +42,10 @@ qx.Class.define("osparc.dashboard.ResourceContainerManager", {
4142
const foldersContainer = this.__foldersContainer = new osparc.dashboard.CardContainer();
4243
this.__foldersContainer.exclude();
4344
this._add(foldersContainer);
45+
46+
const filesContainer = this.__filesContainer = new osparc.dashboard.CardContainer();
47+
this.__filesContainer.exclude();
48+
this._add(filesContainer);
4449
}
4550

4651
const noResourcesFound = this.__noResourcesFound = new qx.ui.basic.Label("No resources found").set({

0 commit comments

Comments
 (0)