0
0
Fork 0

refs #6336 feat: polish claims

This commit is contained in:
Alex Moreno 2024-03-04 14:56:12 +01:00
parent 4484f431bf
commit 5f77115716
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ const $props = defineProps({
const claimId = computed(() => $props.id || route.params.id); const claimId = computed(() => $props.id || route.params.id);
const claimFilter = { const claimFilter = {
where: { claimFk: claimId }, where: { claimFk: claimId.value },
fields: ['created', 'workerFk', 'text'], fields: ['created', 'workerFk', 'text'],
include: { include: {
relation: 'worker', relation: 'worker',
@ -32,7 +32,7 @@ const claimFilter = {
}; };
const body = { const body = {
claimFk: claimId, claimFk: claimId.value,
workerFk: user.value.id, workerFk: user.value.id,
}; };
</script> </script>