mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
fix(rewards): hide special event spells section if empty, fixes #2909
This commit is contained in:
parent
02c283b628
commit
c13b18030b
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ script(id='templates/habitrpg-tasks.html', type="text/ng-template")
|
|||
p.task-text {{item.text}}
|
||||
|
||||
// Events
|
||||
ul.items.rewards(ng-if='main && list.type=="reward"')
|
||||
ul.items.rewards(ng-if='main && list.type=="reward" && (user.items.special.snowball>0 || user.stats.buffs.snowball)')
|
||||
|
||||
li.task.reward-item(ng-if='user.items.special.snowball>0',popover-trigger='mouseenter', popover-placement='top', popover='{{Content.spells.special.snowball.notes}}')
|
||||
.task-meta-controls
|
||||
|
|
|
|||
Loading…
Reference in a new issue