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 <noreply@anthropic.com>
This commit is contained in:
DEls 2026-11-02 23:26:32 +02:00
parent de8aa83ef1
commit 22ae099f95

View file

@ -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 ?? ""),