Merge pull request 'HOTFIX: use store instead formData' (!1634) from hotfix_ticket_basicdata into master
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
Reviewed-on: #1634 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
aa869f2bd8
|
@ -44,7 +44,7 @@ const getPriceDifference = async () => {
|
||||||
shipped: ticket.value.shipped,
|
shipped: ticket.value.shipped,
|
||||||
};
|
};
|
||||||
const { data } = await axios.post(
|
const { data } = await axios.post(
|
||||||
`tickets/${formData.value.id}/priceDifference`,
|
`tickets/${ticket.value.id}/priceDifference`,
|
||||||
params,
|
params,
|
||||||
);
|
);
|
||||||
ticket.value.sale = data;
|
ticket.value.sale = data;
|
||||||
|
@ -71,7 +71,7 @@ const submit = async () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const { data } = await axios.post(
|
const { data } = await axios.post(
|
||||||
`tickets/${formData.value.id}/componentUpdate`,
|
`tickets/${ticket.value.id}/componentUpdate`,
|
||||||
params,
|
params,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue