MSP-3391 remove id, expireTime column form tokens table
This commit is contained in:
1 parent
2106d295c1
commit
7179aa86cf
1 file changed
-17
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user