fixes null checking and ensures that the current property type aliases are passed up when first launching the compositions dialog.
This commit is contained in:
@@ -33,7 +33,9 @@ namespace Umbraco.Core.Services
|
||||
? new string[] { }
|
||||
: filterContentTypes.Where(x => x.IsNullOrWhiteSpace() == false).ToArray();
|
||||
|
||||
if (filterPropertyTypes == null) filterPropertyTypes = new string[] {};
|
||||
filterPropertyTypes = filterPropertyTypes == null
|
||||
? new string[] {}
|
||||
: filterPropertyTypes.Where(x => x.IsNullOrWhiteSpace() == false).ToArray();
|
||||
|
||||
//create the full list of property types to use as the filter
|
||||
//this is the combination of all property type aliases found in the content types passed in for the filter
|
||||
|
||||
Reference in New Issue
Block a user