Additional event informations can be added

This commit is contained in:
2026-08-12 15:01:35 +02:00
parent 554166803b
commit 9581176a0c
28 changed files with 675 additions and 39 deletions
@@ -1,5 +1,6 @@
<script setup>
import { watch } from "vue";
import {watch} from "vue";
import {nextVisibleFrom, STEP_REGISTRATION} from "../composables/stepFlow.js";
const props = defineProps({ formData: Object, event: Object })
const emit = defineEmits(['next', 'back'])
@@ -17,8 +18,7 @@ watch(
)
const nextStep = () => {
const hasAddons = (props.event.addons?.length ?? 0) > 0
emit('next', hasAddons ? 6 : 7)
emit('next', nextVisibleFrom(props.event, STEP_REGISTRATION))
}
</script>