Skip to content

Commit

Permalink
Frontend: Use currentUser.contribution to determine when user can rem…
Browse files Browse the repository at this point in the history
…ove cart item
  • Loading branch information
xuhcc committed Oct 18, 2020
1 parent 1cb4f7d commit c81997d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vue-app/src/components/Cart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export default class Cart extends Vue {
canRemoveItem(): boolean {
// The number of MACI messages can't go down after initial submission
return !this.$store.state.contributor
return this.contribution.isZero()
}
removeItem(item: CartItem) {
Expand Down

0 comments on commit c81997d

Please sign in to comment.