Skip to content

Commit

Permalink
Merge branch 'inveniosoftware:master' into add-overriadable-to-Creati…
Browse files Browse the repository at this point in the history
…butorsModal
  • Loading branch information
mkloeppe authored Dec 18, 2024
2 parents 70fd6df + de2a0e4 commit 86b356c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class RightsVocabularyField extends VocabularyField {
let serializedValue = null;
const _serialize = (value) => {
let clonedValue = _cloneDeep(value);
if ("id" in value) {
if ("id" in value && value.id != null) {
return { id: value.id };
} else {
this.localeFields.forEach((field) => {
Expand Down

0 comments on commit 86b356c

Please sign in to comment.