mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-17 01:06:37 +08:00
feat: update log table style
This commit is contained in:
parent
bad57d049a
commit
0230d36643
@ -497,9 +497,7 @@ const LogsTable = () => {
|
||||
{isAdminUser && (
|
||||
<Table.Cell>
|
||||
{log.username ? (
|
||||
<Label basic size={'tiny'}>
|
||||
{log.username}
|
||||
</Label>
|
||||
<Label basic>{log.username}</Label>
|
||||
) : (
|
||||
''
|
||||
)}
|
||||
|
@ -82,7 +82,7 @@ export function renderColorLabel(text) {
|
||||
}
|
||||
let index = Math.abs(hash % colors.length);
|
||||
return (
|
||||
<Label basic size={'tiny'} color={colors[index]}>
|
||||
<Label basic color={colors[index]}>
|
||||
{text}
|
||||
</Label>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user