|
|
|
@ -249,13 +249,19 @@ class ImportSeriesFooter extends Component {
|
|
|
|
|
body={
|
|
|
|
|
<ul>
|
|
|
|
|
{
|
|
|
|
|
importError.responseJSON.map((error, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<li key={index}>
|
|
|
|
|
{error.errorMessage}
|
|
|
|
|
</li>
|
|
|
|
|
);
|
|
|
|
|
})
|
|
|
|
|
Array.isArray(importError.responseJSON) ?
|
|
|
|
|
importError.responseJSON.map((error, index) => {
|
|
|
|
|
return (
|
|
|
|
|
<li key={index}>
|
|
|
|
|
{error.errorMessage}
|
|
|
|
|
</li>
|
|
|
|
|
);
|
|
|
|
|
}) :
|
|
|
|
|
<li>
|
|
|
|
|
{
|
|
|
|
|
JSON.stringify(importError.responseJSON)
|
|
|
|
|
}
|
|
|
|
|
</li>
|
|
|
|
|
}
|
|
|
|
|
</ul>
|
|
|
|
|
}
|
|
|
|
|