From 3ae636d7711a6be78fddad3fe5f847407d1fdaf9 Mon Sep 17 00:00:00 2001 From: Scott Pouliot Date: Sun, 3 May 2026 11:43:47 -0400 Subject: [PATCH] Fix SMS Agreements history modal showing undefined values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/PowderCoating.Web/Views/SmsAgreements/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PowderCoating.Web/Views/SmsAgreements/Index.cshtml b/src/PowderCoating.Web/Views/SmsAgreements/Index.cshtml index b420cbe..0c17df4 100644 --- a/src/PowderCoating.Web/Views/SmsAgreements/Index.cshtml +++ b/src/PowderCoating.Web/Views/SmsAgreements/Index.cshtml @@ -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 }