Use the member type icon in the members section

This commit is contained in:
Kenn Jacobsen
2019-10-15 12:38:16 +02:00
committed by Sebastiaan Janssen
parent df8347d5f4
commit b46d6718c4

View File

@@ -131,7 +131,7 @@ namespace Umbraco.Web.Trees
{
nodes.AddRange(Services.MemberTypeService.GetAll()
.Select(memberType =>
CreateTreeNode(memberType.Alias, id, queryStrings, memberType.Name, Constants.Icons.MemberType, true,
CreateTreeNode(memberType.Alias, id, queryStrings, memberType.Name, memberType.Icon.IfNullOrWhiteSpace(Constants.Icons.Member), true,
queryStrings.GetRequiredValue<string>("application") + TreeAlias.EnsureStartsWith('/') + "/list/" + memberType.Alias)));
}
}