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:
parent
de8aa83ef1
commit
22ae099f95
1 changed files with 1 additions and 0 deletions
|
|
@ -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 ?? ""),
|
||||
|
|
|
|||
Loading…
Reference in a new issue