0
0
Fork 0

Remove businessFk from FetchData

This commit is contained in:
William Buezas 2024-04-12 08:10:14 -03:00
parent c881fe6577
commit c12fd77218
1 changed files with 1 additions and 5 deletions

View File

@ -72,12 +72,8 @@ const yearList = ref(generateYears());
auto-load
/>
<FetchData
v-if="businessFk"
:url="`Workers/${route.params.id}/contracts`"
:filter="{
fields: ['businessFk', 'businessFk', 'started', 'ended'],
where: { businessFk },
}"
:filter="{ fields: ['businessFk', 'businessFk', 'started', 'ended'] }"
@on-fetch="(data) => (contractList = data)"
auto-load
/>