ae0b966f45
* fix: add neededCurrencyOnly prop * fix: worked on logic for displaying only gems * fix: removed gold & hourglasses if neededCurrencyOnly is true * fix: aligned gem count properly * fix: updates based on some comments (all comments answered) * fix: working on displaying only required currency in a new array * chore: trying to figure out currency logic * trying to use .find() now * remove unneeded line of code * still working on finding/filtering the currency * trying to move requiredCurrency into a new function (?!) * fix: added logic to filter for a single currency and fixed CSS * fix: clean up code * fix: really clean up code, sheesh * fix: updated per comments on PR * fix(style): vertically align elements in your-balance --------- Co-authored-by: Kalista Payne <sabrecat@gmail.com>
Habitica Client
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your unit tests
npm run test:unit
Lints and fixes files
npm run lint
Customize configuration
Vue Structure
Currently pages and components are mixed in /src/components this is not a good way to find the files easy.
Thats why each changed / upcoming page / component should be put in either /src/components or in the /src/pages directory.
Inside Pages, each page can have a subfolder which contains sub-components only needed for that page - otherwise it has to be added to the normal components folder.
At the end of all the changes - the components should only contain components needed between all pages