Skip to content

Commit

Permalink
Fix set data
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrands02 committed Aug 9, 2024
1 parent 8d52701 commit 676eeac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modals/publicationData/AddPublicationDataModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ export default {
},
methods: {
AddPublicatieEigenschap() {
publicationStore.publicationItem.data[this.key] = this.value
this.loading = true
const bodyData = publicationStore.publicationItem
bodyData.data[this.key] = this.value
delete bodyData.publicationDate
fetch(
`/index.php/apps/opencatalogi/api/publications/${publicationStore.publicationItem.id}`,
Expand Down

0 comments on commit 676eeac

Please sign in to comment.