mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-31 23:11:15 +00:00
challenges: view.fn bug fix
This commit is contained in:
parent
64a99e734f
commit
b34caaabd6
1 changed files with 1 additions and 1 deletions
|
|
@ -132,6 +132,6 @@ module.exports.viewHelpers = (view) ->
|
|||
#Challenges
|
||||
view.fn 'taskInChallenge', taskInChallenge
|
||||
view.fn 'taskAttrFromChallenge', (task, attr) ->
|
||||
t = taskInChallenge(task)
|
||||
t = taskInChallenge.call(@,task)
|
||||
t and t[attr]
|
||||
view.fn 'brokenChallengeLink', (task) -> task?.challenge and !taskInChallenge.call(@,task)
|
||||
|
|
|
|||
Loading…
Reference in a new issue