Skip to content

Commit 14fb379

Browse files
samuelalexandrevryghem
authored andcommitted
96598: Test feedback pt. 3: submission - repair auto-refresh
1 parent e4f483c commit 14fb379

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/submission/sections/form/section-form.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ export class SubmissionSectionFormComponent extends SectionModelComponent {
223223

224224
const sectionDataToCheck = {};
225225
Object.keys(sectionData).forEach((key) => {
226-
if (this.sectionMetadata && this.sectionMetadata.includes(key)) {
227-
sectionDataToCheck[key] = sectionData[key];
226+
if (this.sectionData.data && hasValue(this.sectionData.data[key])) {
227+
sectionDataToCheck[key] = this.sectionData.data[key];
228228
}
229229
});
230230

0 commit comments

Comments
 (0)