diff --git a/src/modals/berichten/EditBericht.vue b/src/modals/berichten/EditBericht.vue index 5233077..5c44d87 100644 --- a/src/modals/berichten/EditBericht.vue +++ b/src/modals/berichten/EditBericht.vue @@ -197,7 +197,6 @@ export default { setTimeout(() => { this.closeModal() }, 300) - }, closeModal() { navigationStore.setModal(false) diff --git a/src/modals/klanten/EditKlant.vue b/src/modals/klanten/EditKlant.vue index e7c2cdd..8368e47 100644 --- a/src/modals/klanten/EditKlant.vue +++ b/src/modals/klanten/EditKlant.vue @@ -190,7 +190,7 @@ export default { updated() { if (navigationStore.modal === 'editKlant' && !this.hasUpdated) { - const klantType = this.typeOptions.options.find((option) => option.value === klantStore.klantItem.type) + const klantType = this.typeOptions.options.find((option) => option.value === klantStore.klantItem?.type) if (klantStore.klantItem?.id) { this.klantItem = { diff --git a/src/modals/taken/EditTaak.vue b/src/modals/taken/EditTaak.vue index 3c6990d..06b9a75 100644 --- a/src/modals/taken/EditTaak.vue +++ b/src/modals/taken/EditTaak.vue @@ -6,7 +6,7 @@ import { taakStore, navigationStore, klantStore } from '../../store/store.js' + @closing="closeModalFromButton()">

Taak succesvol aangepast

@@ -18,6 +18,7 @@ import { taakStore, navigationStore, klantStore } from '../../store/store.js' @@ -45,10 +46,12 @@ import { taakStore, navigationStore, klantStore } from '../../store/store.js' :value.sync="taakItem.toelichting" label="Toelichting" /> - +