show names on admin user table

This commit is contained in:
Sinclair Chen 2022-07-04 13:25:44 -07:00
parent 790fdad1e3
commit af2b148b34

View File

@ -62,13 +62,19 @@ function UsersTable() {
class="hover:underline hover:decoration-indigo-400 hover:decoration-2" class="hover:underline hover:decoration-indigo-400 hover:decoration-2"
href="/${cell}">@${cell}</a>`), href="/${cell}">@${cell}</a>`),
}, },
{
id: 'name',
name: 'Name',
formatter: (cell) =>
html(`<span class="whitespace-nowrap">${cell}</span>`),
},
{ {
id: 'email', id: 'email',
name: 'Email', name: 'Email',
}, },
{ {
id: 'createdTime', id: 'createdTime',
name: 'Created Time', name: 'Created',
formatter: (cell) => formatter: (cell) =>
html( html(
`<span class="whitespace-nowrap">${dayjs(cell as number).format( `<span class="whitespace-nowrap">${dayjs(cell as number).format(