Gets all list views working correctly with content apps, fixes various issues, cleans up a bunch of code and reduces amount of service locator.

This commit is contained in:
Shannon
2018-07-17 14:23:07 +10:00
parent 45f959fb6b
commit e9752cd5e1
25 changed files with 189 additions and 230 deletions

View File

@@ -47,7 +47,7 @@ namespace Umbraco.Web.Models.Mapping
if (source.ContentType.IsContainer)
{
//If it's a container then add the list view app and view model
apps.Add(this.CreateListViewApp(_dataTypeService, _propertyEditorCollection, source.ContentType.Alias, "content"));
apps.AppendListViewApp(_dataTypeService, _propertyEditorCollection, source.ContentType.Alias, "content");
}
return apps;