Remove last used column for webhooks as it does not really make sense to have it
This commit is contained in:
@@ -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 () => {
|
const getWebhooks = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user