Skip to content

Commit 1f81e45

Browse files
committed
fix: user dashboard created_at + add signup_methods & roles
1 parent 40dcf67 commit 1f81e45

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

dashboard/src/pages/Users.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ export default function Users() {
185185
<Tr>
186186
<Th>Email</Th>
187187
<Th>Created At</Th>
188+
<Th>Signup Methods</Th>
189+
<Th>Roles</Th>
188190
<Th>Verified</Th>
189191
<Th>Actions</Th>
190192
</Tr>
@@ -195,7 +197,11 @@ export default function Users() {
195197
return (
196198
<Tr key={user.id} style={{ fontSize: 14 }}>
197199
<Td>{user.email}</Td>
198-
<Td>{dayjs(user.created_at).format('MMM DD, YYYY')}</Td>
200+
<Td>
201+
{dayjs(user.created_at * 1000).format('MMM DD, YYYY')}
202+
</Td>
203+
<Td>{user.signup_methods}</Td>
204+
<Td>{user.roles.join(', ')}</Td>
199205
<Td>
200206
<Tag
201207
size="sm"

0 commit comments

Comments
 (0)