diff --git a/src/modals/publication/AddPublicationModal.vue b/src/modals/publication/AddPublicationModal.vue index a6d02ef1..0b030599 100644 --- a/src/modals/publication/AddPublicationModal.vue +++ b/src/modals/publication/AddPublicationModal.vue @@ -316,7 +316,7 @@ export default { publicationStore.refreshPublicationList() response.json().then((data) => { publicationStore.setPublicationItem(data) - navigationStore.setSelectedCatalogus(data?.catalogi) + navigationStore.setSelectedCatalogus(data?.catalogi?.id) }) navigationStore.setSelected('publication') // Wait for the user to read the feedback then close the model