Skip to content

Commit

Permalink
Fix - Création de Order sur panier quand aucun cartItem
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreymugnier committed Nov 9, 2020
1 parent 9c2983d commit 47e0a6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/routes/cart/CartResume.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@
hasFetchedOrder = true;
if ($cartItems.length == 0) {
return;
}
await getProducerDeliveries();
await saveOrder();
Expand Down

0 comments on commit 47e0a6d

Please sign in to comment.