Skip to content

Commit af60c44

Browse files
committed
minor
1 parent 1a3b6f5 commit af60c44

File tree

1 file changed

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

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,12 +1209,13 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
12091209
break;
12101210
}
12111211
// then update the search context this will trigger the search
1212+
const searchContext = data["searchContext"];
12121213
if ([
12131214
osparc.dashboard.StudyBrowser.CONTEXT.SEARCH_PROJECTS,
12141215
osparc.dashboard.StudyBrowser.CONTEXT.SEARCH_TEMPLATES,
12151216
osparc.dashboard.StudyBrowser.CONTEXT.SEARCH_PUBLIC_TEMPLATES,
1216-
].includes(curatedContext)) {
1217-
this._changeContext(curatedContext);
1217+
].includes(searchContext)) {
1218+
this._changeContext(searchContext);
12181219
}
12191220
});
12201221
},

0 commit comments

Comments
 (0)