Remove businessFk from FetchData
gitea/salix-front/pipeline/pr-dev This commit looks good Details

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 auto-load
/> />
<FetchData <FetchData
v-if="businessFk"
:url="`Workers/${route.params.id}/contracts`" :url="`Workers/${route.params.id}/contracts`"
:filter="{ :filter="{ fields: ['businessFk', 'businessFk', 'started', 'ended'] }"
fields: ['businessFk', 'businessFk', 'started', 'ended'],
where: { businessFk },
}"
@on-fetch="(data) => (contractList = data)" @on-fetch="(data) => (contractList = data)"
auto-load auto-load
/> />