diff --git a/Oqtane.Client/Modules/Admin/UserProfile/Index.razor b/Oqtane.Client/Modules/Admin/UserProfile/Index.razor
index 694f28aa..dd1b4065 100644
--- a/Oqtane.Client/Modules/Admin/UserProfile/Index.razor
+++ b/Oqtane.Client/Modules/Admin/UserProfile/Index.razor
@@ -165,116 +165,134 @@ else
+
+
@if (filter == "to")
{
-
@Localizer["From"]
@Localizer["Subject"]
@Localizer["Received"]
-
-
-
- @if (context.IsRead)
- {
- @context.FromDisplayName
- @context.Subject
- @string.Format("{0:dd-MMM-yyyy HH:mm:ss}", @context.CreatedOn)
- }
- else
- {
- @context.FromDisplayName
- @context.Subject
- @string.Format("{0:dd-MMM-yyyy HH:mm:ss}", @context.CreatedOn)
- }
-
-
- @{
- string input = "___";
- if (context.Body.Contains(input))
- {
- context.Body = context.Body.Split(input)[0];
- context.Body = context.Body.Replace("\n", "");
- context.Body = context.Body.Replace("\r", "");
- }
- notificationSummary = context.Body.Length > 100 ? (context.Body.Substring(0, 97) + "...") : context.Body;
- }
+
+
-
+
+
@if (context.IsRead)
{
- @notificationSummary
+ @context.FromDisplayName
+ @context.Subject
+ @string.Format("{0:dd-MMM-yyyy HH:mm:ss}", @context.CreatedOn)
}
else
{
- @notificationSummary
+ @context.FromDisplayName
+ @context.Subject
+ @string.Format("{0:dd-MMM-yyyy HH:mm:ss}", @context.CreatedOn)
}
-
+
+ @{
+ string input = "___";
+ if (context.Body.Contains(input))
+ {
+ context.Body = context.Body.Split(input)[0];
+ context.Body = context.Body.Replace("\n", "");
+ context.Body = context.Body.Replace("\r", "");
+ }
+ notificationSummary = context.Body.Length > 100 ? (context.Body.Substring(0, 97) + "...") : context.Body;
+ }
+ @if (context.IsRead)
+ {
+ @notificationSummary
+ }
+ else
+ {
+ @notificationSummary
+ }
+
+
+