habitica/website/client/store/getters/user.js
Matteo Pagliazzi 706de95458 Client: Header & Menu & Icons (#8770)
* header revamp - wip

* fix webpack fonts

* wip icons

* fix compilation errors

* implement icons loading without iconmoo

* new svg implementation

* wip

* fix issues with svgs

* fix issues with svgs

* fix bits svg

* fix displaying of pet in avatar

* avatar class icon

* no party header

* update navigation

* split code by route

* round gems and gp

* add string for faqs

* fix icons in css
2017-06-08 12:04:19 -07:00

8 lines
No EOL
224 B
JavaScript

export function gems (store) {
return store.state.user.data.balance * 4;
}
export function isBuffed (store) {
const buffs = store.state.user.data.stats.buffs;
return buffs.str || buffs.per || buffs.con || buffs.int;
}