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"
href="/${cell}">@${cell}</a>`),
},
{
id: 'name',
name: 'Name',
formatter: (cell) =>
html(`<span class="whitespace-nowrap">${cell}</span>`),
},
{
id: 'email',
name: 'Email',
},
{
id: 'createdTime',
name: 'Created Time',
name: 'Created',
formatter: (cell) =>
html(
`<span class="whitespace-nowrap">${dayjs(cell as number).format(