File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
services/static-webserver/client/source/class/osparc/info Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -106,15 +106,17 @@ qx.Class.define("osparc.info.ServiceUtils", {
106106 wrap : true ,
107107 maxWidth : 220 ,
108108 } ) ;
109- authors . set ( {
110- value : serviceData [ "authors" ] . map ( author => author [ "name" ] ) . join ( ", " ) ,
111- } ) ;
112- serviceData [ "authors" ] . forEach ( author => {
113- const oldTTT = authors . getToolTipText ( ) ;
109+ if ( serviceData [ "authors" ] ) {
114110 authors . set ( {
115- toolTipText : ( oldTTT ? oldTTT : "" ) + ` ${ author [ "email" ] } - ${ author [ "affiliation" ] } <br>`
111+ value : serviceData [ "authors" ] . map ( author => author [ "name" ] ) . join ( ", " ) ,
116112 } ) ;
117- } ) ;
113+ serviceData [ "authors" ] . forEach ( author => {
114+ const oldTTT = authors . getToolTipText ( ) ;
115+ authors . set ( {
116+ toolTipText : ( oldTTT ? oldTTT : "" ) + `${ author [ "email" ] } - ${ author [ "affiliation" ] } <br>`
117+ } ) ;
118+ } ) ;
119+ }
118120 return authors ;
119121 } ,
120122
You can’t perform that action at this time.
0 commit comments