feat: show times in user edit and list views

This commit is contained in:
Deluan
2020-01-25 18:01:11 -05:00
parent 1f27db9803
commit 478090380d
2 changed files with 8 additions and 4 deletions
+4
View File
@@ -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]' : '')}
/>
) : (