Natalie ae0b966f45 fix: update currency display in setting for change class (#15391)
* 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>
2025-03-13 15:01:50 -05:00
2017-10-12 16:44:28 +02:00
2025-03-04 16:19:44 -06:00
2025-03-11 16:48:19 -05:00
2024-01-16 15:18:47 -06:00
2019-10-02 20:09:26 +02:00
2020-11-30 20:02:06 +01:00
2016-09-07 08:44:57 -05:00
2025-02-11 12:05:28 -06:00
2020-04-08 18:44:30 +02:00
2024-03-11 09:59:57 -05:00
2019-10-18 16:52:21 +02:00
2020-05-05 20:31:33 +02:00
2020-04-28 09:17:46 +05:30
2025-03-12 09:01:14 -05:00
2025-03-12 09:01:14 -05:00
2016-05-23 13:58:31 +02:00
2024-07-19 17:37:31 -05:00

Habitica Build Status

Habitica is an open-source habit-building program that treats your life like a role-playing game. Level up as you succeed, lose HP as you fail, and earn Gold to buy weapons and armor!

Want to contribute code to Habitica? We're always looking for assistance on any issues in our repo with the "Help Wanted" label. The wiki pages below and the additional linked pages will tell you how to start contributing code and where you can seek further help or ask questions:

Interested in contributing to Habiticas mobile apps? Visit the links below for our mobile repositories.

Habitica's code is licensed as described at https://github.com/HabitRPG/habitica/blob/develop/LICENSE

Found a bug? Please report it to admin email rather than create an issue (an admin will advise you if a new issue is necessary; usually it is not).

Creating a third-party tool? Please review our API Usage Guidelines to ensure that your tool is compliant and maintains the best experience for Habitica players.

Have any questions about Habitica or contributing? See the links in the Habitica website's Help menu. Theres FAQs, guides, and the option to reach out to us with any further questions!

S
Description
A habit tracker app which treats your goals like a Role Playing Game.
Readme 1.9 GiB
Languages
JavaScript 51.7%
Vue 23.8%
CSS 23.7%
SCSS 0.7%