Skip to content

Commit b97815f

Browse files
committed
minors
1 parent 0cabdeb commit b97815f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ qx.Class.define("osparc.dashboard.MoveResourceTo", {
8383
}
8484
case "workspaces-and-folders-tree":
8585
control = new osparc.dashboard.WorkspacesAndFoldersTree();
86-
this._add(control);
86+
this._add(control, {
87+
flex: 1
88+
});
8789
break;
8890
case "buttons-layout":
8991
control = new qx.ui.container.Composite(new qx.ui.layout.HBox(10).set({

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ qx.Class.define("osparc.dashboard.ResourceContainerManager", {
208208
},
209209

210210
resetSelection: function() {
211-
if (this.getGroupBy() === null) {
211+
if (this.getGroupBy() === null && this.__nonGroupedContainer) {
212212
this.__nonGroupedContainer.resetSelection();
213213
}
214214
},

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,8 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
453453

454454
_changeContext: function(workspaceId, folderId) {
455455
if (osparc.utils.DisabledPlugins.isFoldersEnabled()) {
456+
this.resetSelection();
457+
this.setMultiSelection(false);
456458
this.set({
457459
currentWorkspaceId: workspaceId,
458460
currentFolderId: folderId,

0 commit comments

Comments
 (0)