mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 11:40:25 +00:00
add skel for clearCompleted
This commit is contained in:
parent
96c13ff55c
commit
881b7b3903
1 changed files with 7 additions and 0 deletions
|
|
@ -107,6 +107,13 @@ ready (model) ->
|
|||
# Also, note that refList index arguments can either be an index
|
||||
# or the item's id property
|
||||
list.pass(ignore: domId).move {id}, to
|
||||
|
||||
#TODO: implement this for completed tab
|
||||
# clearCompleted: ->
|
||||
# _.each @options.habits.doneTodos(), (todo) ->
|
||||
# todo.destroy()
|
||||
# @render()
|
||||
# return false
|
||||
|
||||
#TODO: Implement this for cron
|
||||
# # Note: Set 12am daily cron for this
|
||||
|
|
|
|||
Loading…
Reference in a new issue