Fixed wrong negation

This commit is contained in:
Bjarke Berg
2021-08-18 09:49:44 +02:00
parent 8ceadb33d9
commit a8eae13e0e

View File

@@ -74,7 +74,7 @@ namespace Umbraco.Cms.Core.PropertyEditors.ValueConverters
}
// TODO: Inject an UmbracoHelper and create a GetUmbracoHelper method based on either injected or singleton
if (!_umbracoContextAccessor.TryGetUmbracoContext(out _))
if (_umbracoContextAccessor.TryGetUmbracoContext(out _))
{
if (propertyType.EditorAlias.Equals(Constants.PropertyEditors.Aliases.MultiNodeTreePicker))
{