output correct avatar in list

This commit is contained in:
2020-05-11 11:40:13 +02:00
parent a54e06a411
commit 16478377ac
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ namespace zero.Web.Mapper
target.Name = source.Name;
target.IsActive = source.IsActive && (!source.LockoutEnabled || !source.LockoutEnd.HasValue);
target.Email = source.Email;
target.Avatar = "https://fifty.brothers.studio/Media/Avatars/tobi.jpg"; // TODO //source.Avatar?.Source;
target.Avatar = source.Avatar?.Source;
target.Roles = String.Join(", ", source.Roles); // TODO get name from alias
});