Update ModalTerminal.tsx
This commit is contained in:
parent
33ba827207
commit
cd3a8b9308
|
|
@ -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>
|
||||
) : (
|
||||
""
|
||||
|
|
|
|||
Loading…
Reference in New Issue