Private
Public Access
1
0

Fix transaction action buttons layout and Dashboard UTC error

Wrap edit/delete buttons in a flex container so they render
side by side instead of stacking. Fix Dashboard DateTime to use
UTC kind, which Npgsql requires for timestamp comparisons.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Catherine Renelle
2026-02-08 23:58:28 -05:00
parent f92759bef3
commit 8ca2dbd763
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ public class DashboardService : IDashboardService
var accountSummaries = accounts.Select(a => new AccountSummaryResponse(a.Id, a.Name, a.Type, a.Institution, a.Balance, a.CreditLimit)).ToList();
var now = DateTime.UtcNow;
var startOfMonth = new DateTime(now.Year, now.Month, 1);
var startOfMonth = new DateTime(now.Year, now.Month, 1, 0, 0, 0, DateTimeKind.Utc);
var startOfLastMonth = startOfMonth.AddMonths(-1);
var recentTxns = await _db.Transactions