Browse Source

Minor fix for schema generation.

pull/1/head
Sebastian 10 years ago
parent
commit
2c9805e754
  1. 4
      src/Squidex.Core/Schemas/Field.cs

4
src/Squidex.Core/Schemas/Field.cs

@ -206,9 +206,9 @@ namespace Squidex.Core.Schemas
{
var jsonProperty = new JsonProperty { IsRequired = RawProperties.IsRequired, Type = JsonObjectType.Object };
if (!string.IsNullOrWhiteSpace(RawProperties.Label))
if (!string.IsNullOrWhiteSpace(RawProperties.Hints))
{
jsonProperty.Description = RawProperties.Label;
jsonProperty.Description = RawProperties.Hints;
}
else
{

Loading…
Cancel
Save