Skip to content

Commit

Permalink
Merge pull request #133 from codeanker/development
Browse files Browse the repository at this point in the history
1.4.5
  • Loading branch information
danielswiatek authored Mar 11, 2024
2 parents 118d5b8 + 523b67f commit 730567d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const unterveranstaltungPublicGetProcedure = defineProcedure({
teilnahmeBedingungen: true,
teilnahmeBedingungenPublic: true,
zielgruppe: true,
hostname: true,
},
},
gliederung: {
Expand Down
7 changes: 5 additions & 2 deletions frontend/src/components/forms/person/FormPersonGeneral.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const props = defineProps<{
person?: Person
submitText?: string
error?: Error
showTshirt?: boolean
}>()
const emit = defineEmits<{
Expand Down Expand Up @@ -159,8 +160,10 @@ const submit = () => {
</template>
<template v-if="isPublicAnmeldung">
<FormTShirtBestellungGeneral v-model="tshirtForm" />
<hr class="my-5" />
<template v-if="showTshirt">
<FormTShirtBestellungGeneral v-model="tshirtForm" />
<hr class="my-5" />
</template>
<BasicCheckbox
v-model="acceptTeilnahmebedingungen"
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/PublicAnmeldung/PublicAnmeldungView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ const {
:error="errorCreate as Error"
submit-text="Anmelden"
is-public-anmeldung
:show-tshirt="unterveranstaltung?.veranstaltung?.hostname?.hostname !== 'landes.digital'"
@submit="(value) => createAnmeldung(undefined, value)"
@show-terms="showBedingungen = true"
/>
Expand Down

0 comments on commit 730567d

Please sign in to comment.