component was setting the topic false when trying to delete a kontakt or an adresse

This commit is contained in:
SimonGschnell
2024-09-12 12:04:42 +02:00
parent 1208c6829c
commit 29fac520f3
@@ -94,11 +94,11 @@ export default {
item.data.delete = true;
this.$emit("update:profilUpdate", item.data);
//? updates the topic when a Kontakt or an Address should be deleted
this.modal_topic = this.profilUpdateTopic["Private Adressen"]
this.modal_topic = this.modal_topic == this.profilUpdateTopic["Private Adressen"]
? this.profilUpdateTopic["Delete Adresse"]
: this.profilUpdateTopic["Delete Kontakt"];
this.$emit("update:topic", this.modal_topic);
this.$emit("submit");
},