From 6aeea47f6fe2d41b1fdb204806e8ab9e3f14b3a7 Mon Sep 17 00:00:00 2001 From: Stephan Date: Sun, 7 Apr 2019 11:27:34 +0200 Subject: [PATCH] Minor fix --- src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs b/src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs index adc33c1360..f2ff4328fb 100644 --- a/src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs +++ b/src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs @@ -64,7 +64,6 @@ namespace Umbraco.Web.Models.Mapping // Umbraco.Code.MapAll private static void Map(IContent source, ContentPropertyCollectionDto target, MapperContext context) { - // must pass the context through target.Properties = source.Properties.Select(context.Map); } @@ -128,7 +127,6 @@ namespace Umbraco.Web.Models.Mapping target.Owner = _commonMapper.GetOwner(source, context); target.ParentId = source.ParentId; target.Path = source.Path; - // must pass the context through target.Properties = source.Properties.Select(context.Map); target.SortOrder = source.SortOrder; target.State = _basicStateMapper.Map(source, context);