Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(cart): works
Browse files Browse the repository at this point in the history
fixes bug with innacurate cart
Closes 625
  • Loading branch information
Daniel Stern committed Mar 17, 2015
1 parent 6d104ef commit 23d1a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/cart/cart.controllers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module ngApp.cart.controllers {
});

$scope.$watch(function(){
return CartService.getFiles().length
return CartService.getFiles().length && UserService.currentUser;
},function(){
updateChartData();
}, true);
Expand Down

0 comments on commit 23d1a60

Please sign in to comment.