From 3779f903d871165f93a202bb3c78fbd3dac0860e Mon Sep 17 00:00:00 2001 From: SVISHNEV Date: Wed, 30 Aug 2017 16:09:04 +0300 Subject: vsp submit message error fix Change-Id: I4dd15d77d47a328f524895e2e0566a734095dd28 Issue-ID: SDC-263 Signed-off-by: SVISHNEV --- openecomp-ui/src/nfvo-components/SubmitErrorResponse.jsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'openecomp-ui/src/nfvo-components') diff --git a/openecomp-ui/src/nfvo-components/SubmitErrorResponse.jsx b/openecomp-ui/src/nfvo-components/SubmitErrorResponse.jsx index 1488c6c0bb..8d45d86a9d 100644 --- a/openecomp-ui/src/nfvo-components/SubmitErrorResponse.jsx +++ b/openecomp-ui/src/nfvo-components/SubmitErrorResponse.jsx @@ -109,13 +109,13 @@ const UploadErrorList = ({items}) => { let generator = entries(items); let errors = []; - let i = 0; for (let item of generator) {errors.push(
{item.header}
- {item.list.map(error => )} + {item.list.map((error, i) => )}
);} + return (
{errors} @@ -152,7 +152,10 @@ const ErrorHeader = ({errorType, collapsed, onClick}) => { const ErrorMessage = ({error, warning}) => { return ( - + + {error} ); }; -- cgit 1.2.3-korg