Skip to content

Commit

Permalink
edit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Dec 18, 2024
1 parent 79ce246 commit 19839a0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/modals/contactMomenten/ContactMomentenForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,13 @@ export default {
addContactMoment(i) {
this.selectedContactMoment = i
this.contactMoment = this.contactMomenten[i]
this.contactMoment = {
...this.contactMoment,
...this.contactMomenten[i],
id: this.contactMoment.id,
startDate: this.contactMoment.startDate,
}
this.loading = true
Expand All @@ -783,6 +789,10 @@ export default {
delete contactMomentCopy.klantContactmomenten
delete contactMomentCopy.auditTrails
delete contactMomentCopy.addedTaken
delete contactMomentCopy.selectedKlantContactMoment
delete contactMomentCopy.selectedProduct
delete contactMomentCopy.selectedTaak
delete contactMomentCopy.selectedZaak
contactMomentStore.saveContactMoment({
...contactMomentCopy,
Expand Down

0 comments on commit 19839a0

Please sign in to comment.