mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-09 04:08:10 +00:00
feat: beautify tables
This commit is contained in:
parent
ba17e7f3c6
commit
b69f0bccd5
@ -138,11 +138,12 @@ const Documents = () => {
|
||||
{documents.map((row: any) => (
|
||||
<tr key={row.id}>
|
||||
<td>{row.doc_name}</td>
|
||||
<td>{row.doc_type}</td>
|
||||
<td><Chip variant='soft' color='neutral'>{row.doc_type}</Chip></td>
|
||||
<td>{row.chunk_size}</td>
|
||||
<td>{moment(row.last_sync).format('YYYY-MM-DD HH:MM:SS')}</td>
|
||||
<td>
|
||||
<Chip
|
||||
variant="soft"
|
||||
color={(function () {
|
||||
switch (row.status) {
|
||||
case 'TODO':
|
||||
|
Loading…
Reference in New Issue
Block a user