mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
CC License Submission Step - fix error when changing accepted license
This commit is contained in:
@@ -109,6 +109,7 @@ export class SubmissionSectionCcLicensesComponent extends SectionModelComponent
|
|||||||
if (!!this.getSelectedCcLicense() && this.getSelectedCcLicense().id === ccLicense.id) {
|
if (!!this.getSelectedCcLicense() && this.getSelectedCcLicense().id === ccLicense.id) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
this.setAccepted(false);
|
||||||
this.updateSectionData({
|
this.updateSectionData({
|
||||||
ccLicense: {
|
ccLicense: {
|
||||||
id: ccLicense.id,
|
id: ccLicense.id,
|
||||||
@@ -116,7 +117,6 @@ export class SubmissionSectionCcLicensesComponent extends SectionModelComponent
|
|||||||
},
|
},
|
||||||
uri: undefined,
|
uri: undefined,
|
||||||
});
|
});
|
||||||
this.setAccepted(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user