diff --git a/front-ui/app/stores/cartStore.js b/front-ui/app/stores/cartStore.js index af61827..cf07d6f 100644 --- a/front-ui/app/stores/cartStore.js +++ b/front-ui/app/stores/cartStore.js @@ -41,16 +41,16 @@ var loadCart = function() { success: function() { CartActions.dataLoaded(); } - }) - if (!_deliveryDestination.get('id')) { - _deliveryDestination.fetch({ + }); + + _deliveryDestination.fetch({ success: function() { validateDeliveryDestinationForm(); fetchPlace(); CartActions.dataLoaded(); } - }); - } + }); + };