Add to the tree metadata (So the UI of the tree node can be aware if it allows variants)

This commit is contained in:
Warren Buckley
2018-10-22 09:30:39 +01:00
parent c401782d5e
commit 6b7dd261ab

View File

@@ -92,6 +92,7 @@ namespace Umbraco.Web.Trees
}
}
node.AdditionalData.Add("variesByCulture", documentEntity.Variations.VariesByCulture());
node.AdditionalData.Add("contentType", documentEntity.ContentTypeAlias);
}