From 22ae099f95889aa8b56d3115cf154cb46e8bef99 Mon Sep 17 00:00:00 2001 From: DEls Date: Mon, 2 Nov 2026 23:26:32 +0200 Subject: [PATCH] fix(users): pass last_active_at through to the Users list The page maps each row field by field and left the new field out, so everyone showed "Never" although the stamps were being written. Co-Authored-By: Claude Opus 5.5 --- src/app/dashboard/settings/users/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/dashboard/settings/users/page.tsx b/src/app/dashboard/settings/users/page.tsx index 270d169..515e256 100644 --- a/src/app/dashboard/settings/users/page.tsx +++ b/src/app/dashboard/settings/users/page.tsx @@ -31,6 +31,7 @@ export default async function UsersPage() { sites: Array.isArray(row.sites) ? row.sites.filter((id): id is string => typeof id === "string") : [], is_active: row.is_active === true, must_change_password: row.must_change_password === true, + last_active_at: String(row.last_active_at ?? ""), float_card: row.float_card === true, float_card_number: String(row.float_card_number ?? ""), float_card_last_digits: String(row.float_card_last_digits ?? ""),