Skip to content

Commit 8d4d51d

Browse files
committed
minor
1 parent 245a10b commit 8d4d51d

File tree

1 file changed

+3
-1
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
4242
construct: function() {
4343
this._resourceType = "study";
4444
this.base(arguments);
45+
46+
const store = osparc.store.Store.getInstance();
47+
this.bind("currentContext", store, "studyBrowserContext");
4548
},
4649

4750
events: {
@@ -992,7 +995,6 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
992995

993996
__changeContext: function(context, workspaceId = null, folderId = null) {
994997
if (osparc.utils.DisabledPlugins.isFoldersEnabled()) {
995-
osparc.store.Store.getInstance().setStudyBrowserContext(context);
996998
if (
997999
context !== "search" && // reload studies for a new search
9981000
context === this.getCurrentContext() &&

0 commit comments

Comments
 (0)