display first activity also on edit

This commit is contained in:
Philipp Lang 2021-07-05 13:22:35 +02:00
parent b38d00ddfc
commit b108ccf7df
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
<f-select :options="countries" id="country_id" v-model="inner.country_id" label="Land" required></f-select> <f-select :options="countries" id="country_id" v-model="inner.country_id" label="Land" required></f-select>
<f-select :options="nationalities" id="nationality_id" v-model="inner.nationality_id" label="Staatsangehörigkeit" required></f-select> <f-select :options="nationalities" id="nationality_id" v-model="inner.nationality_id" label="Staatsangehörigkeit" required></f-select>
<div class="contents" v-show="mode === 'create'"> <div class="contents">
<h2 class="col-span-full font-semibold text-lg text-white">Erste Gruppierung</h2> <h2 class="col-span-full font-semibold text-lg text-white">Erste Gruppierung</h2>
<f-select :options="activities" id="first_activity_id" v-model="inner.first_activity_id" label="Erste Tätigkeit" required></f-select> <f-select :options="activities" id="first_activity_id" v-model="inner.first_activity_id" label="Erste Tätigkeit" required></f-select>
<f-select v-if="inner.first_activity_id" :options="subactivities[inner.first_activity_id]" id="first_subactivity_id" v-model="inner.first_subactivity_id" label="Erste Untertätigkeit" required></f-select> <f-select v-if="inner.first_activity_id" :options="subactivities[inner.first_activity_id]" id="first_subactivity_id" v-model="inner.first_subactivity_id" label="Erste Untertätigkeit" required></f-select>