From 29fac520f37845d5111a76257a58184367cd89c1 Mon Sep 17 00:00:00 2001 From: SimonGschnell Date: Thu, 12 Sep 2024 12:04:42 +0200 Subject: [PATCH] component was setting the topic false when trying to delete a kontakt or an adresse --- .../js/components/Cis/Profil/ProfilModal/EditProfilSelect.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/components/Cis/Profil/ProfilModal/EditProfilSelect.js b/public/js/components/Cis/Profil/ProfilModal/EditProfilSelect.js index 81b294b57..7b87bad85 100755 --- a/public/js/components/Cis/Profil/ProfilModal/EditProfilSelect.js +++ b/public/js/components/Cis/Profil/ProfilModal/EditProfilSelect.js @@ -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"); },