From 820b317b575cea73d6c41e51aae58a41418664d2 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Thu, 20 Jun 2024 23:31:09 +0200 Subject: [PATCH] Add has_nami_field to participant component --- resources/js/views/form/Index.vue | 2 +- resources/js/views/form/Participants.vue | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/resources/js/views/form/Index.vue b/resources/js/views/form/Index.vue index dac823c2..1b7813db 100644 --- a/resources/js/views/form/Index.vue +++ b/resources/js/views/form/Index.vue @@ -32,7 +32,7 @@ - + diff --git a/resources/js/views/form/Participants.vue b/resources/js/views/form/Participants.vue index f31872ac..6b333f6c 100644 --- a/resources/js/views/form/Participants.vue +++ b/resources/js/views/form/Participants.vue @@ -82,6 +82,15 @@ const props = defineProps({ required: true, 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');