diff --git a/spaces/pages/customers.vue b/spaces/pages/customers.vue index 2c88207..0f0d8e0 100644 --- a/spaces/pages/customers.vue +++ b/spaces/pages/customers.vue @@ -227,6 +227,11 @@ const createCustomer = async () => { console.log(error) } else { mode.value = "show" + customerInfo.value = { + id: 0, + name: "", + infoData: {} + } toast.add({title: "Kunde erfolgreich erstellt"}) fetchCustomers() } @@ -253,6 +258,11 @@ const updateCustomer = async () => { .eq('id',customerInfo.value.id) console.log(error) mode.value = "show" + customerInfo.value = { + id: 0, + name: "", + infoData: {} + } toast.add({title: "Kunde erfolgreich gespeichert"}) fetchCustomers() }