Skip to content

Commit

Permalink
Use the member type icon in the members section
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenn Jacobsen authored and nul800sebastiaan committed Oct 24, 2019
1 parent df8347d commit b46d671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Umbraco.Web/Trees/MemberTreeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ protected override TreeNodeCollection GetTreeNodes(string id, FormDataCollection
{
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)));
}
}
Expand Down

0 comments on commit b46d671

Please sign in to comment.