Update ModalTerminal.tsx #19

Merged
andrew.ng merged 1 commits from that into main 2025-11-28 12:19:42 +11:00
1 changed files with 17 additions and 12 deletions

View File

@ -516,18 +516,23 @@ const ModalTerminal = ({
)
)}
</Box> */}
<Box>
<Text size="sm" fw={"bold"}>
Issue:
</Text>
{(line?.latestScenario?.detectAI?.issue || [])?.map(
(el, i) => (
<Box key={i}>
<Text size="sm">- {el}</Text>
</Box>
)
)}
</Box>
{line?.latestScenario?.detectAI?.issue &&
Array.isArray(line?.latestScenario?.detectAI?.issue) ? (
<Box>
<Text size="sm" fw={"bold"}>
Issue:
</Text>
{line?.latestScenario?.detectAI?.issue?.map(
(el, i) => (
<Box key={i}>
<Text size="sm">- {el}</Text>
</Box>
)
)}
</Box>
) : (
""
)}
</Box>
) : (
""