profilUpdates need to have unique adresse_id or kontakt_id

This commit is contained in:
SimonGschnell
2024-01-17 13:53:32 +01:00
parent a5c77543b1
commit 49fda27e56
2 changed files with 27 additions and 41 deletions
@@ -49,8 +49,7 @@ export default {
methods: {
deleteItem: function(item){
let data = item.data;
data.delete = true;
this.$emit('update:profilUpdate',item.data);
//? updates the topic when a Kontakt or an Address should be deleted
this.$emit('update:topic',item.data.kontakt?"Delete Kontakte":"Delete Adressen");