From 57a2f452d175dec735a83c2a35f9eddf54d4353a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 17 Sep 2024 14:26:48 +0200 Subject: [PATCH] fix: adopt extended service subtypes in participant sizes form --- .../Assets/js/myep/components/ParticipantSizesForm.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/ParticipantSizesForm.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/ParticipantSizesForm.vue index f718f9a5..88334129 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/ParticipantSizesForm.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/ParticipantSizesForm.vue @@ -35,6 +35,12 @@ type: Object, required: true }, + subTypes: { + type: Array, + default() { + return ['VER', 'VE2', 'VE3', 'VE4', 'VE5', 'VE6', 'VE7', 'VE8'] + } + }, mutable: { type: Boolean, default: false @@ -62,7 +68,7 @@ if (typeof this.services[id] === 'undefined') { continue; } - if ('VER' === this.services[id].subType) { + if (this.subTypes.includes(this.services[id].subType)) { result = true; } }