Update API Scaffold call to remove the List View app, now the alias has changed
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user