change the field to the lastUsedAt field

This commit is contained in:
Simone Taeggi 2022-08-19 17:47:52 +02:00
parent 76efd01690
commit 88f914c630
2 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ const TableRows = ({ canDelete, canUpdate, canRead, onClickDelete, withBulkActio
</Td>
<Td>
<Typography textColor="neutral800">
<RelativeTime timestamp={new Date(apiToken.updatedAt)} />
<RelativeTime timestamp={new Date(apiToken.lastUsedAt)} />
</Typography>
</Td>

View File

@ -24,8 +24,8 @@ const tableHeaders = [
},
},
{
name: 'updatedAt',
key: 'updatedAt',
name: 'lastUsedAt',
key: 'lastUsedAt',
metadatas: {
label: 'Last used',
sortable: false,