Skip to content

Commit

Permalink
remove unneeded method
Browse files Browse the repository at this point in the history
  • Loading branch information
negue committed Sep 3, 2018
1 parent 244cd7d commit 9c555f3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions website/client/app.vue
Expand Up @@ -29,7 +29,6 @@ div
buyModal(
:item="selectedItemToBuy || {}",
:withPin="true",
@change="resetItemToBuy($event)",
@buyPressed="customPurchase($event)",
:genericPurchase="genericPurchase(selectedItemToBuy)",

Expand Down Expand Up @@ -567,13 +566,6 @@ export default {
});
}
},
resetItemToBuy ($event) {
// @TODO: Do we need this? I think selecting a new item
// overwrites. @negue might know
if (!$event && this.selectedItemToBuy.purchaseType !== 'card') {
this.selectedItemToBuy = null;
}
},
itemSelected (item) {
this.selectedItemToBuy = item;
},
Expand Down

0 comments on commit 9c555f3

Please sign in to comment.