Adds TODO notes

This commit is contained in:
Shannon
2018-12-11 17:54:10 +11:00
parent eb3841fc0a
commit 1fe3045b4c

View File

@@ -122,6 +122,8 @@ namespace Umbraco.Web.Models.Mapping
.ForMember(dest => dest.AdditionalData, opt => opt.Ignore())
.AfterMap((src, dest) =>
{
//TODO: Properly map this (not aftermap)
//get the icon if there is one
dest.Icon = src.Values.ContainsKey(UmbracoExamineIndex.IconFieldName)
? src.Values[UmbracoExamineIndex.IconFieldName]