From 71b23c5945d1383b993611951eea02cb397b03b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 12 Nov 2024 15:15:10 +0100 Subject: [PATCH] feat: make participant's nationality optional --- .../Resources/Private/Assets/js/myep/BookingEdit.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue index b2e5195f..0bd5ddfe 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue @@ -429,12 +429,12 @@ }; messages.push('Teilnehmer #'+participantId+': ungültige E-Mail-Adresse') } - if (!participant.data.nationality) { - this.invalidParticipantData[participantId] = { - invalid: 'Nationalität', - }; - messages.push('Teilnehmer #'+participantId+': Nationalität fehlt') - } + // if (!participant.data.nationality) { + // this.invalidParticipantData[participantId] = { + // invalid: 'Nationalität', + // }; + // messages.push('Teilnehmer #'+participantId+': Nationalität fehlt') + // } if (!this.hasSelectedRentals(participant)) { continue; }