Fix FormatElement labels if no content.
This commit is contained in:
@ -38,7 +38,17 @@ namespace zaaReloaded2.Controller.Elements
|
||||
|
||||
public override string Label
|
||||
{
|
||||
get { return Content; }
|
||||
get
|
||||
{
|
||||
if (String.IsNullOrEmpty(Content))
|
||||
{
|
||||
return "Laborparameter";
|
||||
}
|
||||
else
|
||||
{
|
||||
return Content;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void Run(zaaReloaded2.Formatter.Formatter formatter)
|
||||
|
Reference in New Issue
Block a user