feat: handle empty rows of data

This commit is contained in:
amhsirak
2024-11-20 05:14:03 +05:30
parent 0765a1a363
commit 9172e0343c

View File

@@ -140,7 +140,9 @@ export const RunContent = ({ row, currentLog, interpretationInProgress, logEndRe
{tableData.map((row, index) => (
<TableRow key={index}>
{columns.map((column) => (
<TableCell key={column}>{row[column]}</TableCell>
<TableCell key={column}>
{row[column] === undefined || row[column] === "" ? "-" : row[column]}
</TableCell>
))}
</TableRow>
))}