mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Only attempt to display sting error messages in ErrorDetail
This commit is contained in:
parent
6942b4d5b6
commit
3f1434f0f5
@ -64,9 +64,9 @@ class ErrorDetail extends Component {
|
||||
<CardBody>
|
||||
{Array.isArray(message) ? (
|
||||
<ul>
|
||||
{message.map(m => (
|
||||
<li key={m}>{m}</li>
|
||||
))}
|
||||
{message.map(m =>
|
||||
typeof m === 'string' ? <li key={m}>{m}</li> : null
|
||||
)}
|
||||
</ul>
|
||||
) : (
|
||||
message
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user