From abbb3594f591965341a14bbc81f5081d99e601c6 Mon Sep 17 00:00:00 2001 From: mlogclub Date: Tue, 28 Jul 2026 23:15:21 +0800 Subject: [PATCH] refactor: update user table layout to include ID and swap last login with contact information --- web/app/dashboard/users/page.tsx | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/web/app/dashboard/users/page.tsx b/web/app/dashboard/users/page.tsx index 7c9222e..be064a3 100644 --- a/web/app/dashboard/users/page.tsx +++ b/web/app/dashboard/users/page.tsx @@ -339,17 +339,21 @@ export default function DashboardUsersPage() { + ID {t("user.columnUser")} {t("user.columnRoles")} {t("user.columnStatus")} - {t("user.columnLastLogin")} {t("user.columnContact")} + {t("user.columnLastLogin")} {t("user.columnActions")} {list.result.results.map((item) => ( + + {item.id} +
@@ -385,18 +389,18 @@ export default function DashboardUsersPage() { ) : null} - -
{formatDateTime(item.lastLoginAt)}
-
- {item.lastLoginIp || "-"} -
-
{item.mobile || "-"}
{item.email || "-"}
+ +
{formatDateTime(item.lastLoginAt)}
+
+ {item.lastLoginIp || "-"} +
+