Fixes on feedback

This commit is contained in:
Giuseppe Digilio
2019-02-07 19:05:09 +01:00
parent c74834514b
commit 00c3e652b4
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ export class SubmissionResponseParsingService extends BaseResponseParsingService
.forEach((metdadataId) => {
const entry = item.sections[sectionId][metdadataId];
// If entry is not an array, for sure is not a section of type form
if (isNotNull(entry) && Array.isArray(entry)) {
if (Array.isArray(entry)) {
normalizedSectionData[metdadataId] = [];
entry.forEach((valueItem) => {
// Parse value and normalize it