We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f4ae8 commit 9945ec9Copy full SHA for 9945ec9
src/pages/audit-logs.tsx
@@ -207,12 +207,12 @@ const columns: ColumnType<AuditLog>[] = [
207
},
208
209
{
210
- title: '是否使用 API',
+ title: 'API Key',
211
dataIndex: ['apiTokens', 'tokenSuffix'],
212
width: 120,
213
render: (tokenSuffix?: string) =>
214
tokenSuffix ? (
215
- <Text className="font-mono text-xs">{tokenSuffix}</Text>
+ <Text className="font-mono text-xs">****{tokenSuffix}</Text>
216
) : (
217
<Text type="secondary">-</Text>
218
),
@@ -361,7 +361,7 @@ export const AuditLogs = () => {
361
浏览器: browserInfo,
362
操作系统: osInfo,
363
IP地址: log.ip || '-',
364
- 是否使用API: log.apiTokens?.tokenSuffix || '-',
+ 'API Key': `****${log.apiTokens?.tokenSuffix || '-'}`,
365
};
366
});
367
0 commit comments