CrLfTab
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using AutoMapper;
|
||||
@@ -101,9 +101,9 @@ namespace Umbraco.Web.Models.Mapping
|
||||
}
|
||||
|
||||
//now add the user props
|
||||
contentProps.AddRange(currProps);
|
||||
contentProps.AddRange(currProps);
|
||||
|
||||
//callback
|
||||
//callback
|
||||
onGenericPropertiesMapped?.Invoke(contentProps);
|
||||
|
||||
//re-assign
|
||||
@@ -166,7 +166,7 @@ namespace Umbraco.Web.Models.Mapping
|
||||
|
||||
var listViewConfig = editor.PreValueEditor.ConvertDbToEditor(editor.DefaultPreValues, preVals);
|
||||
//add the entity type to the config
|
||||
listViewConfig["entityType"] = entityType;
|
||||
listViewConfig["entityType"] = entityType;
|
||||
|
||||
//Override Tab Label if tabName is provided
|
||||
if (listViewConfig.ContainsKey("tabName"))
|
||||
@@ -174,7 +174,7 @@ namespace Umbraco.Web.Models.Mapping
|
||||
var configTabName = listViewConfig["tabName"];
|
||||
if (configTabName != null && string.IsNullOrWhiteSpace(configTabName.ToString()) == false)
|
||||
listViewTab.Label = configTabName.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
var listViewProperties = new List<ContentPropertyDisplay>();
|
||||
listViewProperties.Add(new ContentPropertyDisplay
|
||||
|
||||
Reference in New Issue
Block a user