forked from verdnatura/salix-front
refs #6336 feat: polish claims
This commit is contained in:
parent
4484f431bf
commit
5f77115716
|
@ -15,7 +15,7 @@ const $props = defineProps({
|
|||
const claimId = computed(() => $props.id || route.params.id);
|
||||
|
||||
const claimFilter = {
|
||||
where: { claimFk: claimId },
|
||||
where: { claimFk: claimId.value },
|
||||
fields: ['created', 'workerFk', 'text'],
|
||||
include: {
|
||||
relation: 'worker',
|
||||
|
@ -32,7 +32,7 @@ const claimFilter = {
|
|||
};
|
||||
|
||||
const body = {
|
||||
claimFk: claimId,
|
||||
claimFk: claimId.value,
|
||||
workerFk: user.value.id,
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue