0

Remove last used column for webhooks as it does not really make sense to have it

This commit is contained in:
Gabe Kangas 2021-02-04 19:23:41 -08:00
parent d36ee58b0e
commit a2ed01b088

View File

@ -114,18 +114,6 @@ export default function Webhooks() {
</>
),
},
{
title: 'Last Used',
dataIndex: 'lastUsed',
key: 'lastUsed',
render: (lastUsed) => {
if (!lastUsed) {
return 'Never';
}
const dateObject = new Date(lastUsed);
return format(dateObject, 'P p');
},
},
];
const getWebhooks = async () => {