Skip to content

Commit fa41e90

Browse files
committed
fix
1 parent af60c44 commit fa41e90

File tree

1 file changed

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

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,9 +1302,9 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
13021302
}
13031303
},
13041304

1305-
_changeContext: function(context, workspaceId = null, folderId = null) {
1305+
_changeContext: function(context, workspaceId = null, folderId = null) {)
13061306
if (
1307-
!context.includes("search") && // load projects if search string changed
1307+
!context.includes("search") && // move on if it's a search context, it will be handled later
13081308
context === this.getCurrentContext() &&
13091309
workspaceId === this.getCurrentWorkspaceId() &&
13101310
folderId === this.getCurrentFolderId()
@@ -1315,11 +1315,12 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
13151315

13161316
if (
13171317
context.includes("search") &&
1318+
context === this.getCurrentContext() &&
13181319
this.__lastUrlParams &&
13191320
"text" in this.__lastUrlParams &&
13201321
this.__lastUrlParams["text"] === this._searchBarFilter.getTextFilterValue()
13211322
) {
1322-
// text search didn't change
1323+
// context and text search didn't change
13231324
return;
13241325
}
13251326

0 commit comments

Comments
 (0)