From 7179aa86cf76a7d59e32920167a45924f6b93ee2 Mon Sep 17 00:00:00 2001 From: veselovnk Date: Tue, 4 Jun 2024 13:25:27 +0300 Subject: [PATCH] MSP-3391 remove id, expireTime column form tokens table --- src/components/TokenContent/index.tsx | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/components/TokenContent/index.tsx b/src/components/TokenContent/index.tsx index fbfe515..601076a 100644 --- a/src/components/TokenContent/index.tsx +++ b/src/components/TokenContent/index.tsx @@ -113,11 +113,6 @@ const TokenContent = ({ id }: TokenPropTypes) => { } const columns: ColumnsType = [ - { - title: 'ID', - dataIndex: 'appId', - key: 'appId' - }, { title: 'Токен', dataIndex: 'token', @@ -135,18 +130,6 @@ const TokenContent = ({ id }: TokenPropTypes) => { return
{formatTime}
} }, - { - title: 'Срок действия', - dataIndex: 'expireTime', - key: 'expireTime', - render: (value) => { - const time = dayjs.duration(value).humanize() - if (value > 0) { - return
{time}
- } - return
Отсутствует
- } - }, { title: 'Истекает', dataIndex: 'expireTime',