mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 07:21:15 +00:00
fix(market): remove dead code
This commit is contained in:
parent
99d6ce5bdb
commit
bff7d9bab3
1 changed files with 0 additions and 12 deletions
|
|
@ -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);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue