Update API Scaffold call to remove the List View app, now the alias has changed

This commit is contained in:
Warren Buckley
2018-09-14 10:53:59 +01:00
parent cd151ac19a
commit 41fd9afab5
2 changed files with 3 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ namespace Umbraco.Web.Editors
var mapped = Mapper.Map<MediaItemDisplay>(emptyContent);
//remove the listview app if it exists
mapped.ContentApps = mapped.ContentApps.Where(x => x.Alias != "childItems").ToList();
mapped.ContentApps = mapped.ContentApps.Where(x => x.Alias != "umbListView").ToList();
return mapped;
}