UI fixes, adds blanket impls of buy/sell signals
This commit is contained in:
@@ -21,6 +21,12 @@ export default {
|
||||
.then(_ => { if (AppStorage.debug) this.notifications.push("Claim withdrawn")})
|
||||
|
||||
},
|
||||
buyItems(items) {
|
||||
this.notifications.push(`Would buy ${items.length} items`);
|
||||
},
|
||||
sellItems (items) {
|
||||
this.notifications.push(`Would sell ${items.length} items`);
|
||||
},
|
||||
parseLoot (items) {
|
||||
this.loot = [];
|
||||
items.map(item => {
|
||||
@@ -57,6 +63,8 @@ export default {
|
||||
updateWealth: this.updateWealth,
|
||||
putClaim: this.putClaim,
|
||||
withdrawClaim: this.withdrawClaim,
|
||||
buyItems: this.buyItems,
|
||||
sellItems: this.sellItems,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user