feat: show the apikey mask value

This commit is contained in:
jialin
2026-03-17 16:35:55 +08:00
committed by jialin
parent a86bfe7fd3
commit 2dc7c9adf1
6 changed files with 15 additions and 1 deletions
@@ -47,6 +47,16 @@ const useModelsColumns = ({
</AutoTooltip>
)
},
{
title: intl.formatMessage({ id: 'apikeys.table.key' }),
dataIndex: 'masked_value',
key: 'masked_value',
render: (text: string, record: ListItem) => (
<AutoTooltip ghost style={{ maxWidth: 400 }}>
{text}
</AutoTooltip>
)
},
{
title: intl.formatMessage({ id: 'apikeys.form.expiretime' }),
dataIndex: 'expires_at',