0
0
Fork 0

fix: add scope fields on filter

This commit is contained in:
Pablo Natek 2024-11-13 10:11:14 +01:00
parent 8eb76cd0fc
commit 178753ddcc
1 changed files with 6 additions and 1 deletions

View File

@ -22,7 +22,12 @@ const agencies = ref([]);
</script>
<template>
<FetchData url="AgencyModes" @on-fetch="(data) => (agencies = data)" auto-load />
<FetchData
url="AgencyModes"
:filter="{ fields: ['id', 'name'] }"
@on-fetch="(data) => (agencies = data)"
auto-load
/>
<VnFilterPanel
:data-key="props.dataKey"
:search-button="true"