+ :class="editingContactIndex === index ? 'd-none' : 'd-flex justify-content-between align-items-center'">
@@ -214,35 +215,46 @@
-
-
+
+ :class="editingContactIndex === index ? 'row g-2 align-items-start' : 'd-none'">
-
+
-
+
-
@@ -281,21 +293,24 @@
Hast du Lust, am Samstag, den 13.11.2027, beim Nachtreffen in Gevelsberg dabei zu sein?
Genauere Infos und Details gibt's dann später hier und per Mail.
-
- Du hast bereits für Samstag, den 13.11.2027, zugesagt. Genauere Infos und Details gibt's dann später hier und per Mail. Falls du deine Meinung ändern möchtest, kannst du hier nochmal wählen.
+
+ Du hast für Samstag, den 13.11.2027, zugesagt.
+ Genauere Infos und
+ Details gibt's dann später hier und per Mail. Falls du deine Meinung ändern möchtest, kannst
+ du hier nochmal wählen.
-
- Du hast bereits für Samstag, den 13.11.2027, abgesagt. Falls du deine Meinung ändern möchtest, kannst du hier nochmal wählen.
+
+ Du hast für Samstag, den 13.11.2027, abgesagt. Falls du
+ deine
+ Meinung ändern möchtest, kannst du hier nochmal wählen.
- Ja, ich bin dabei!
- Nein,
- ich
- kann leider nicht
+ Nein, ich bin nicht dabei
true
});
-
+
if (resp.status === 200) {
this.enteredContacts = (this.enteredContacts || []).filter((c) => c.isNew);
resp.data.forEach(contact => {
@@ -655,7 +670,7 @@
email: this.enteredContacts[index].email,
phone: this.enteredContacts[index].phone || ''
};
-
+
// Focus the email input of the specific contact being edited
setTimeout(() => {
// Find all email inputs and select the one that's currently visible (not d-none)
@@ -676,7 +691,7 @@
if (this.editingContactIndex >= 0 && this.enteredContacts[this.editingContactIndex].isNew) {
this.enteredContacts.splice(this.editingContactIndex, 1);
}
-
+
this.editingContactIndex = -1;
this.editingContactData = { email: '', phone: '' };
},
@@ -701,7 +716,7 @@
this.enteredContacts[index].phone = this.editingContactData.phone.trim();
// Remove the isNew flag since it's now saved
delete this.enteredContacts[index].isNew;
-
+
this.stepMsg = 'Kontakt erfolgreich gespeichert!';
this.stepMsgType = 'success';
this.editingContactIndex = -1;