feat: show times in user edit and list views
This commit is contained in:
@@ -32,6 +32,10 @@ const UserList = (props) => {
|
||||
{isXsmall ? (
|
||||
<SimpleList
|
||||
primaryText={(record) => record.name}
|
||||
secondaryText={(record) =>
|
||||
record.lastAccessAt &&
|
||||
new Date(record.lastAccessAt).toLocaleString()
|
||||
}
|
||||
tertiaryText={(record) => (record.isAdmin ? '[admin]️' : '')}
|
||||
/>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user