Skip to content

Commit

Permalink
fix(cataloging-bulkchanges): append ids to targetForm when is create …
Browse files Browse the repository at this point in the history
…specification
  • Loading branch information
lrosenstrom committed Nov 5, 2024
1 parent 519db86 commit 0b2091b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cataloging/src/components/care/bulk-changes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,11 @@ export default {
if (this.activeStep === 'form') {
this.setInspectorData(this.currentSpec[MATCH_FORM_KEY]);
}
this.currentSpec[TARGET_FORM_KEY] = cloneDeep(this.inspector.data.mainEntity);
if (this.isCreateSpec) {
this.currentSpec[TARGET_FORM_KEY] = DataUtil.appendIds(cloneDeep(this.inspector.data.mainEntity));
} else {
this.currentSpec[TARGET_FORM_KEY] = cloneDeep(this.inspector.data.mainEntity);
}
},
reset() {
this.$store.dispatch('setInspectorStatusValue', {
Expand Down

0 comments on commit 0b2091b

Please sign in to comment.