mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-02 04:00:36 +00:00
fixed bug where +habits would behave strangely when targeted by spells
This commit is contained in:
parent
17ab1d660f
commit
1c771fa4db
1 changed files with 2 additions and 2 deletions
|
|
@ -63,8 +63,8 @@ li(bindonce='list', id='task-{{::task.id}}', ng-repeat='task in obj[list.type+"s
|
|||
// Habits
|
||||
span(ng-if='::task.type=="habit"')
|
||||
// score() is overridden in challengesCtrl to do nothing
|
||||
a.task-action-btn(ng-if='task.up', ng-click='score(task,"up")') +
|
||||
a.task-action-btn(ng-if='task.down', ng-click='score(task,"down")') -
|
||||
a.task-action-btn(ng-if='task.up', ng-click='$root.applyingAction || score(task,"up")') +
|
||||
a.task-action-btn(ng-if='task.down', ng-click='$root.applyingAction || score(task,"down")') -
|
||||
|
||||
// Rewards
|
||||
span(ng-show='task.type=="reward"')
|
||||
|
|
|
|||
Loading…
Reference in a new issue