CC License Submission Step - fix error when changing accepted license

This commit is contained in:
Samuel
2020-07-01 18:28:48 +02:00
parent ea28998bc1
commit 9bbdf95bee

View File

@@ -109,6 +109,7 @@ export class SubmissionSectionCcLicensesComponent extends SectionModelComponent
if (!!this.getSelectedCcLicense() && this.getSelectedCcLicense().id === ccLicense.id) {
return;
}
this.setAccepted(false);
this.updateSectionData({
ccLicense: {
id: ccLicense.id,
@@ -116,7 +117,6 @@ export class SubmissionSectionCcLicensesComponent extends SectionModelComponent
},
uri: undefined,
});
this.setAccepted(false);
}
/**