96598: Test feedback pt. 3: submission - repair auto-refresh

This commit is contained in:
samuel
2022-11-23 15:40:00 +01:00
committed by Alexandre Vryghem
parent e4f483c308
commit 14fb379419

View File

@@ -223,8 +223,8 @@ export class SubmissionSectionFormComponent extends SectionModelComponent {
const sectionDataToCheck = {}; const sectionDataToCheck = {};
Object.keys(sectionData).forEach((key) => { Object.keys(sectionData).forEach((key) => {
if (this.sectionMetadata && this.sectionMetadata.includes(key)) { if (this.sectionData.data && hasValue(this.sectionData.data[key])) {
sectionDataToCheck[key] = sectionData[key]; sectionDataToCheck[key] = this.sectionData.data[key];
} }
}); });