@@ -198,7 +198,10 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
198198 this . __setWorkspacesToList ( workspaces ) ;
199199 } )
200200 . catch ( console . error )
201- . finally ( ( ) => this . __loadingWorkspaces = null ) ;
201+ . finally ( ( ) => {
202+ this . __addNewWorkspaceButton ( ) ;
203+ this . __loadingWorkspaces = null ;
204+ } ) ;
202205 } ,
203206
204207 __reloadFolders : function ( ) {
@@ -237,7 +240,10 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
237240 this . __setFoldersToList ( folders ) ;
238241 } )
239242 . catch ( console . error )
240- . finally ( ( ) => this . __loadingFolders = null ) ;
243+ . finally ( ( ) => {
244+ this . __addNewFolderButton ( ) ;
245+ this . __loadingFolders = null ;
246+ } ) ;
241247 } ,
242248
243249 __reloadStudies : function ( ) {
@@ -425,8 +431,6 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
425431 __reloadWorkspaceCards : function ( ) {
426432 this . _resourcesContainer . setWorkspacesToList ( this . __workspacesList ) ;
427433 this . _resourcesContainer . reloadWorkspaces ( ) ;
428-
429- this . __addNewWorkspaceButton ( ) ;
430434 } ,
431435
432436 __addNewWorkspaceButton : function ( ) {
@@ -481,8 +485,6 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
481485 __reloadFolderCards : function ( ) {
482486 this . _resourcesContainer . setFoldersToList ( this . __foldersList ) ;
483487 this . _resourcesContainer . reloadFolders ( ) ;
484-
485- this . __addNewFolderButton ( ) ;
486488 } ,
487489
488490 __addNewFolderButton : function ( ) {
0 commit comments