revert change

This commit is contained in:
Niels Lyngsø
2020-06-04 11:16:18 +02:00
parent b81f0b3eb6
commit 0b71c10fdc

View File

@@ -60,7 +60,7 @@ namespace Umbraco.Web.PropertyEditors.ValueConverters
var configuration = propertyType.DataType.ConfigurationAs<NestedContentConfiguration>();
var contentTypes = configuration.ContentTypes;
var elements = contentTypes.Length == 1
? PublishedModelFactory.CreateModelList(contentTypes[0].Key)
? PublishedModelFactory.CreateModelList(contentTypes[0].Alias)
: new List<IPublishedElement>();
var value = (string)inter;