mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-15 12:07:43 +00:00
Refresh on clear-completed
This commit is contained in:
parent
ebbdc6ae1e
commit
fc74c4640f
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ class HabitTracker.Views.Habits.IndexView extends Backbone.View
|
|||
clearCompleted: ->
|
||||
_.each @options.habits.doneTodos(), (todo) ->
|
||||
todo.destroy()
|
||||
@render()
|
||||
return false
|
||||
|
||||
# TODO create a view & template, bind to existing element
|
||||
|
|
|
|||
Loading…
Reference in a new issue