We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6703d06 commit 317f126Copy full SHA for 317f126
src/Presentation/SmartStore.Web/Extensions/MappingExtensions.cs
@@ -88,7 +88,6 @@ public static CustomerAvatarModel ToAvatarModel(
88
Id = customer.Id,
89
Large = large,
90
UserName = userName,
91
- AllowViewingProfiles = customerSettings.AllowViewingProfiles,
92
AvatarPictureSize = mediaSettings.AvatarPictureSize
93
};
94
@@ -99,6 +98,8 @@ public static CustomerAvatarModel ToAvatarModel(
99
98
}
100
else
101
{
+ model.AllowViewingProfiles = customerSettings.AllowViewingProfiles;
102
+
103
if (customer.FirstName.HasValue())
104
105
model.AvatarLetter = customer.FirstName.First();
0 commit comments