fix(market): remove dead code

This commit is contained in:
Matteo Pagliazzi 2020-09-14 12:40:08 +02:00
parent 99d6ce5bdb
commit bff7d9bab3

View file

@ -326,18 +326,6 @@ export default {
return mappedItems;
}
},
hasOwnedItemsForType (type) {
return this.ownedItems(type).length > 0;
},
inventoryDrawerErrorMessage (type) {
if (!this.hasOwnedItemsForType(type)) {
// @TODO: Change any places using similar locales
// from `pets.json` and use these new locales from 'inventory.json'
return this.$t('noItemsAvailableForType', { type: this.$t(`${type}ItemType`) });
}
return null;
},
itemSelected (item) {
this.$root.$emit('buyModal::showItem', item);
},