Added ContentApps for Members (#6670)

This commit is contained in:
Rob Maas
2019-12-18 10:43:41 +01:00
committed by Sebastiaan Janssen
parent 2a7faf36f0
commit 809ab6d05f
14 changed files with 267 additions and 28 deletions

View File

@@ -76,6 +76,7 @@ namespace Umbraco.Web.Models.Mapping
// Umbraco.Code.MapAll -Trashed -IsContainer -VariesByCulture
private void Map(IMember source, MemberDisplay target, MapperContext context)
{
target.ContentApps = _commonMapper.GetContentApps(source);
target.ContentTypeId = source.ContentType.Id;
target.ContentTypeAlias = source.ContentType.Alias;
target.ContentTypeName = source.ContentType.Name;