diff --git a/app/app/(admin)/components/users-table.tsx b/app/app/(admin)/components/users-table.tsx index 203185294..f6226899e 100644 --- a/app/app/(admin)/components/users-table.tsx +++ b/app/app/(admin)/components/users-table.tsx @@ -10,6 +10,7 @@ import { Button, notification, Popconfirm, + Checkbox, } from "antd"; import type { GetRef, TableColumnsType } from "antd"; // import { headers } from 'next/headers' @@ -187,6 +188,18 @@ function UsersTable({ users, setUsers, loading }: UserInterface) { dataIndex: "updatedAt", render: (value) => getCurrentTime(new Date(value)), }, + { + title: "allowToLogin", + dataIndex: "allowToLogin", + width: 120, + render: (value) => { + return ( +
+ +
+ ); + }, + }, { title: "Action", dataIndex: "", @@ -195,7 +208,8 @@ function UsersTable({ users, setUsers, loading }: UserInterface) { {contextHolder}