feat: substr api key
This commit is contained in:
@@ -104,7 +104,7 @@ const ApiKeyManager = () => {
|
|||||||
<TableBody>
|
<TableBody>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableCell>{apiKeyName}</TableCell>
|
<TableCell>{apiKeyName}</TableCell>
|
||||||
<TableCell>{showKey ? apiKey : '****************'}</TableCell>
|
<TableCell>{showKey ? `${apiKey?.substring(0, 10)}...` : '****************'}</TableCell>
|
||||||
<TableCell>
|
<TableCell>
|
||||||
<Tooltip title="Copy API Key">
|
<Tooltip title="Copy API Key">
|
||||||
<IconButton onClick={copyToClipboard}>
|
<IconButton onClick={copyToClipboard}>
|
||||||
|
|||||||
Reference in New Issue
Block a user