feat: move typography outside table body
This commit is contained in:
@@ -169,19 +169,18 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
|
|||||||
columns.map((column) => (
|
columns.map((column) => (
|
||||||
<TableCell key={column}>{column}</TableCell>
|
<TableCell key={column}>{column}</TableCell>
|
||||||
))
|
))
|
||||||
) : (
|
) : "" }
|
||||||
<TableCell align="center">No Data</TableCell>
|
|
||||||
)}
|
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableHead>
|
</TableHead>
|
||||||
<TableBody>
|
|
||||||
{tableData.length > 0 ? (
|
{tableData.length > 0 ? (
|
||||||
tableData.map((row, index) => (
|
tableData.map((row, index) => (
|
||||||
|
<TableBody>
|
||||||
<TableRow key={index}>
|
<TableRow key={index}>
|
||||||
{columns.map((column) => (
|
{columns.map((column) => (
|
||||||
<TableCell key={column}>{row[column]}</TableCell>
|
<TableCell key={column}>{row[column]}</TableCell>
|
||||||
))}
|
))}
|
||||||
</TableRow>
|
</TableRow>
|
||||||
|
</TableBody>
|
||||||
))
|
))
|
||||||
) : (
|
) : (
|
||||||
hasScrapeListAction || hasScrapeSchemaAction || hasScreenshotAction ? (
|
hasScrapeListAction || hasScrapeSchemaAction || hasScreenshotAction ? (
|
||||||
@@ -197,7 +196,6 @@ export const InterpretationLog: React.FC<InterpretationLogProps> = ({ isOpen, se
|
|||||||
</Typography>
|
</Typography>
|
||||||
)
|
)
|
||||||
)}
|
)}
|
||||||
</TableBody>
|
|
||||||
</Table>
|
</Table>
|
||||||
</TableContainer>
|
</TableContainer>
|
||||||
<div style={{ float: 'left', clear: 'both' }} ref={logEndRef} />
|
<div style={{ float: 'left', clear: 'both' }} ref={logEndRef} />
|
||||||
|
|||||||
Reference in New Issue
Block a user