habitica-self-host/website
Aleksey 5b57d91a9b Fix: Antidotes to Avatar Transformation Items should be added to Rewards by API (#11353)
* Fix: moved debuffPotions from vue component

- Move logic of choosing proper debuf potion from vue component to website commons
- introduce new function to get debuffSpellItems

* Fix: move debuffPotions to server

* Refactoring: move setting of debuff potion to func

* Fix: sanity

* Refactoring & Tests:

- Create test case for get and set DebuffPotionItems functions
- Fix setDebuffPotionItems function to not create duplicated debuff items
- Make debuff potion type of items unpinnable
- Move list of debuffs to constant to reuse it in tests and functions

* Fix: typo in test describe

* Fix: translation of unpin

* Fix: setDebuffPotionItems on cron buffs reset

* Fix: use full path for debuff potions
2019-10-06 18:41:39 +02:00
..
client Fix: Antidotes to Avatar Transformation Items should be added to Rewards by API (#11353) 2019-10-06 18:41:39 +02:00
common Fix: Antidotes to Avatar Transformation Items should be added to Rewards by API (#11353) 2019-10-06 18:41:39 +02:00
raw_sprites chore(event): enable Sparkles 2019-10-03 14:04:02 -05:00
server Fix: Antidotes to Avatar Transformation Items should be added to Rewards by API (#11353) 2019-10-06 18:41:39 +02:00
static fix(audio): rename todo audio files with wrong casing, fixes #10294 2018-05-19 20:03:19 +02:00