Skip to content
Snippets Groups Projects
Commit 00c3e652 authored by Giuseppe Digilio's avatar Giuseppe Digilio
Browse files

Fixes on feedback

parent c7483451
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -108,7 +108,7 @@ export class ChipsComponent implements OnChanges {
}
this.cdr.detectChanges();
if (!chipsItem.hasIcons() || (chipsItem.hasIcons() && !chipsItem.hasVisibleIcons()) || field) {
if (!chipsItem.hasIcons() || !chipsItem.hasVisibleIcons() || field) {
this.tipText = textToDisplay;
tooltip.open();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment