Add has_nami_field to participant component
This commit is contained in:
parent
43c528fc46
commit
820b317b57
|
@ -32,7 +32,7 @@
|
||||||
</ui-popup>
|
</ui-popup>
|
||||||
|
|
||||||
<ui-popup v-if="showing !== null" :heading="`Teilnehmende für ${showing.name}`" full @close="showing = null">
|
<ui-popup v-if="showing !== null" :heading="`Teilnehmende für ${showing.name}`" full @close="showing = null">
|
||||||
<participants :url="showing.links.participant_index"></participants>
|
<participants :has-nami-field="showing.has_nami_field" :root-url="showing.links.participant_root_index" :url="showing.links.participant_index"> </participants>
|
||||||
</ui-popup>
|
</ui-popup>
|
||||||
|
|
||||||
<ui-popup v-if="single !== null && single.config !== null" :heading="`Veranstaltung ${single.id ? 'bearbeiten' : 'erstellen'}`" full @close="cancel">
|
<ui-popup v-if="single !== null && single.config !== null" :heading="`Veranstaltung ${single.id ? 'bearbeiten' : 'erstellen'}`" full @close="cancel">
|
||||||
|
|
|
@ -82,6 +82,15 @@ const props = defineProps({
|
||||||
required: true,
|
required: true,
|
||||||
validator: (value) => value.startsWith('http'),
|
validator: (value) => value.startsWith('http'),
|
||||||
},
|
},
|
||||||
|
rootUrl: {
|
||||||
|
type: String,
|
||||||
|
required: true,
|
||||||
|
validator: (value) => value.startsWith('http'),
|
||||||
|
},
|
||||||
|
hasNamiField: {
|
||||||
|
type: Boolean,
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
var {meta, data, reload, reloadPage, axios, remove, toFilterString} = useApiIndex(props.url, 'participant');
|
var {meta, data, reload, reloadPage, axios, remove, toFilterString} = useApiIndex(props.url, 'participant');
|
||||||
|
|
Loading…
Reference in New Issue