diff --git a/resources/js/views/activity/Masslist.vue b/resources/js/views/activity/Masslist.vue index 449badce..ff2acb7e 100644 --- a/resources/js/views/activity/Masslist.vue +++ b/resources/js/views/activity/Masslist.vue @@ -15,6 +15,7 @@ > +
@@ -52,6 +53,11 @@ const props = defineProps({ }, }); +const searchText = ref(''); +watch(searchText, (newValue) => { + reloadReal(1); +}); + const meta = ref({ activity_id: null, subactivity_id: null, @@ -77,7 +83,7 @@ watch(meta, async (newValue) => { }, { deep: true }); async function reloadReal(page) { - const results = await search('', [], { page: page, hitsPerPage: 80 }); + const results = await search(searchText.value, [], { page: page, hitsPerPage: 80 }); members.value = results; } reloadReal(1);