File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
services/static-webserver/client/source/class/osparc/info Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -175,11 +175,6 @@ qx.Class.define("osparc.info.ServiceUtils", {
175175 alignY : "middle"
176176 } ) ) ;
177177
178- const label = new qx . ui . basic . Label ( qx . locale . Manager . tr ( "Description" ) ) . set ( {
179- font : "text-13"
180- } ) ;
181- descriptionLayout . add ( label ) ;
182-
183178 const description = new osparc . ui . markdown . Markdown ( ) ;
184179 // display markdown link content if that's the case
185180 if (
@@ -197,8 +192,10 @@ qx.Class.define("osparc.info.ServiceUtils", {
197192 console . error ( err ) ;
198193 description . setValue ( serviceData [ "description" ] ) ;
199194 } ) ;
200- } else {
195+ } else if ( serviceData [ "description" ] ) {
201196 description . setValue ( serviceData [ "description" ] ) ;
197+ } else {
198+ description . setValue ( this . tr ( "No description" ) ) ;
202199 }
203200 descriptionLayout . add ( description ) ;
204201
You can’t perform that action at this time.
0 commit comments