MSP-3391 remove id, expireTime column form tokens table

This commit is contained in:
veselovnk committed 2024-06-04 13:25:27 +03:00
1 parent 2106d295c1
commit 7179aa86cf
1 file changed
-17
-17
View File
@@ -113,11 +113,6 @@ const TokenContent = ({ id }: TokenPropTypes) => {
}
const columns: ColumnsType<ApplicationTokenType> = [
{
title: 'ID',
dataIndex: 'appId',
key: 'appId'
},
{
title: 'Токен',
dataIndex: 'token',
@@ -135,18 +130,6 @@ const TokenContent = ({ id }: TokenPropTypes) => {
return <div>{formatTime}</div>
}
},
{
title: 'Срок действия',
dataIndex: 'expireTime',
key: 'expireTime',
render: (value) => {
const time = dayjs.duration(value).humanize()
if (value > 0) {
return <div>{time}</div>
}
return <div>Отсутствует</div>
}
},
{
title: 'Истекает',
dataIndex: 'expireTime',