@@ -453,7 +453,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
453453 } ,
454454
455455 _workspaceUpdated : function ( ) {
456- this . __reloadWorkspaceCards ( ) ;
456+ this . __reloadWorkspaces ( ) ;
457457 } ,
458458
459459 _trashWorkspaceRequested : function ( workspaceId ) {
@@ -1081,15 +1081,17 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
10811081 // reset lists
10821082 this . __setWorkspacesToList ( [ ] ) ;
10831083 this . __setFoldersToList ( [ ] ) ;
1084- this . _loadingResourcesBtn . setFetching ( false ) ;
1085- this . invalidateStudies ( ) ;
1086- this . _resourcesContainer . setResourcesToList ( [ ] ) ;
1084+ this . _resourcesList = [ ] ;
1085+ this . _resourcesContainer . setResourcesToList ( this . _resourcesList ) ;
1086+ this . _resourcesContainer . reloadCards ( "studies" ) ;
10871087
10881088 this . _toolbar . show ( ) ;
10891089 switch ( this . getCurrentContext ( ) ) {
10901090 case "studiesAndFolders" :
10911091 this . _searchBarFilter . resetFilters ( ) ;
10921092 this . __reloadFolders ( ) ;
1093+ this . _loadingResourcesBtn . setFetching ( false ) ;
1094+ this . invalidateStudies ( ) ;
10931095 this . __reloadStudies ( ) ;
10941096 break ;
10951097 case "workspaces" :
@@ -1100,12 +1102,16 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
11001102 case "search" :
11011103 this . __reloadWorkspaces ( ) ;
11021104 this . __reloadFolders ( ) ;
1105+ this . _loadingResourcesBtn . setFetching ( false ) ;
1106+ this . invalidateStudies ( ) ;
11031107 this . __reloadStudies ( ) ;
11041108 break ;
11051109 case "trash" :
11061110 this . _searchBarFilter . resetFilters ( ) ;
11071111 this . __reloadWorkspaces ( ) ;
11081112 this . __reloadFolders ( ) ;
1113+ this . _loadingResourcesBtn . setFetching ( false ) ;
1114+ this . invalidateStudies ( ) ;
11091115 this . __reloadStudies ( ) ;
11101116 break ;
11111117 }
0 commit comments