Merge pull request #2760 from umbraco/temp8-variants
Variants Refactoring [v8]
This commit is contained in:
@@ -265,7 +265,7 @@ namespace Umbraco.Web.Trees
|
||||
// for those items that DO support cultures, we need to get the proper name, IF it exists
|
||||
// otherwise, invariant is fine
|
||||
|
||||
if (docEntity.Variations.Has(Core.Models.ContentVariation.CultureNeutral) &&
|
||||
if (docEntity.Variations.VariesByCulture() &&
|
||||
docEntity.CultureNames.TryGetValue(culture, out var name) &&
|
||||
!string.IsNullOrWhiteSpace(name))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user