File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1137,9 +1137,11 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
11371137 let searchContext = null ;
11381138 switch ( this . getCurrentContext ( ) ) {
11391139 case "templates" :
1140+ case "searchTemplates" :
11401141 searchContext = "searchTemplates" ;
11411142 break ;
11421143 case "publicTemplates" :
1144+ case "searchPublicTemplates" :
11431145 searchContext = "searchPublicTemplates" ;
11441146 break ;
11451147 default :
@@ -1157,7 +1159,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
11571159
11581160 _changeContext : function ( context , workspaceId = null , folderId = null ) {
11591161 if (
1160- context !== "searchProjects" && // reload studies for a new search
1162+ ! context . includes ( "search" ) && // load projects if search string changed
11611163 context === this . getCurrentContext ( ) &&
11621164 workspaceId === this . getCurrentWorkspaceId ( ) &&
11631165 folderId === this . getCurrentFolderId ( )
You can’t perform that action at this time.
0 commit comments