refs #6943 remake, refactor, clean code Samples #677
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#677
Loading…
Reference in New Issue
No description provided.
Delete Branch "6943-fixCustomerSamples"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -175,0 +175,4 @@
setParams(params);
const samplesData = await getSamples();
const path = `${samplesData.model}/${route.params.id}/${samplesData.code}-email`;
await sendEmail(path, params);
try/catch?
@ -174,1 +162,4 @@
let { data } = await axios.get('Samples', {
params: { filter: JSON.stringify(filter) },
});
return data[0];
Si falla la peticion o data es nullo, que pasará?