Fix SMS Agreements history modal showing undefined values

System.Text.Json serializes PascalCase by default but the modal JS
expected camelCase — added CamelCase naming policy to the serializer.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-03 11:43:47 -04:00
parent 90f333c8f3
commit 3ae636d771
@@ -222,7 +222,7 @@
AgreedAt = a.AgreedAt.ToString("MMM d, yyyy 'at' h:mm tt") + " UTC",
IpAddress = a.IpAddress ?? "—",
UserAgent = a.UserAgent ?? "—"
}))">
}), new System.Text.Json.JsonSerializerOptions { PropertyNamingPolicy = System.Text.Json.JsonNamingPolicy.CamelCase })">
@row.AllAgreements.Count <i class="bi bi-clock-history ms-1"></i>
</button>
}