File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,8 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
197197 this . __setWorkspacesToList ( workspaces ) ;
198198 if ( this . getCurrentContext ( ) === "trash" ) {
199199 if ( workspaces . length ) {
200- this . __header . getChildControl ( "empty-trash-button" ) . show ( ) ;
200+ // Not yet implemented
201+ // this.__header.getChildControl("empty-trash-button").show();
201202 }
202203 }
203204 } )
@@ -243,7 +244,8 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
243244 this . __setFoldersToList ( folders ) ;
244245 if ( this . getCurrentContext ( ) === "trash" ) {
245246 if ( folders . length ) {
246- this . __header . getChildControl ( "empty-trash-button" ) . show ( ) ;
247+ // Not yet implemented
248+ // this.__header.getChildControl("empty-trash-button").show();
247249 }
248250 }
249251 } )
@@ -311,7 +313,8 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
311313
312314 if ( this . getCurrentContext ( ) === "trash" ) {
313315 if ( this . _resourcesList . length ) {
314- this . __header . getChildControl ( "empty-trash-button" ) . show ( ) ;
316+ // Not yet implemented
317+ // this.__header.getChildControl("empty-trash-button").show();
315318 }
316319 }
317320
Original file line number Diff line number Diff line change @@ -197,6 +197,7 @@ qx.Class.define("osparc.dashboard.StudyBrowserHeader", {
197197 appearance : "danger-button" ,
198198 allowGrowY : false ,
199199 alignY : "middle" ,
200+ visibility : "excluded" , // Not yet implemented
200201 } ) ;
201202 control . addListener ( "execute" , ( ) => this . fireEvent ( "emptyTrashRequested" ) ) ;
202203 this . _addAt ( control , this . self ( ) . POS . EMPTY_TRASH_BUTTON ) ;
You can’t perform that action at this time.
0 commit comments