U4-5672 Properties and Tabs moving/incorrect when Enable list view selected

This commit is contained in:
Sebastiaan Janssen
2017-07-17 09:46:30 +02:00
parent 9482104ec5
commit e1957b895f

View File

@@ -165,7 +165,7 @@ namespace Umbraco.Web.Models.Mapping
var listViewTab = new Tab<ContentPropertyDisplay>();
listViewTab.Alias = Constants.Conventions.PropertyGroups.ListViewGroupName;
listViewTab.Label = localizedTextService.Localize("content/childItems");
listViewTab.Id = 25;
listViewTab.Id = display.Tabs.Count() + 1;
listViewTab.IsActive = true;
var listViewConfig = editor.PreValueEditor.ConvertDbToEditor(editor.DefaultPreValues, preVals);