File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -317,6 +317,22 @@ qx.Class.define("osparc.dashboard.ResourceDetails", {
317317 }
318318 } ) ;
319319
320+ const resourceData = this . __resourceData ;
321+ if ( ! osparc . utils . Resources . isService ( resourceData ) ) {
322+ const title = osparc . product . Utils . getStudyAlias ( { firstUpperCase : true } ) + this . tr ( " Files..." ) ;
323+ const iconSrc = "@FontAwesome5Solid/file/22" ;
324+ const dataAccess = new qx . ui . basic . Atom ( ) . set ( {
325+ label : title ,
326+ icon : iconSrc ,
327+ font : "text-14" ,
328+ padding : 8 ,
329+ gap : 18 ,
330+ cursor : "pointer" ,
331+ } ) ;
332+ dataAccess . addListener ( "tap" , ( ) => osparc . widget . StudyDataManager . popUpInWindow ( resourceData [ "uuid" ] ) ) ;
333+ this . addWidgetToTabs ( dataAccess ) ;
334+ }
335+
320336 if ( selectedTabId ) {
321337 const pageFound = tabsView . getChildren ( ) . find ( page => page . tabId === selectedTabId ) ;
322338 if ( pageFound ) {
You can’t perform that action at this time.
0 commit comments