mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 04:29:40 +00:00
Whenever one is hovering an item from another user, the bonuses of these items are shown for the own user. So for example if you're a mage and view a Royal Magus Robe of another mage, the class bonus is 6. However if you're a warrior, the class bonus displays as 0 because the attributes grid is always using the stats for the own user even if viewing equipment of a different user. I've fixed this by moving the user object to the properties in attributesGrid and passing the current user from every other Vue file that's using attributesGrid. Not sure whether this is the right approach, as I'm no expert in Vue.js but some testing with the client now shows the correct values. Signed-off-by: aszlig <aszlig@nix.build> |
||
|---|---|---|
| .. | ||
| client | ||
| common | ||
| raw_sprites | ||
| server | ||
| static | ||
| README.md | ||
/website/client contains the source files for the new client side that is being developed as part of the Habitica.com redesign. Static assets for the new client can be found in website/static.
The old client side files can be found in /website/client-old, they are still used on Habitica.com while the redesign is in progress.