mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 11:40:25 +00:00
parent
172afc5f13
commit
d03b4b5477
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ get '/:uid?', (page, model, {uid}, next) ->
|
|||
preened = _.reject unique, (obj, key) -> #remove empty grey tasks
|
||||
!_.contains(taskIds, key)
|
||||
if original.length != preened.length # issues were indeed found
|
||||
user.set path, preened
|
||||
user.set path, _.uniq(user.get(path))
|
||||
|
||||
# Setup Model Functions
|
||||
model.fn '_user._tnl', '_user.stats.lvl', (lvl) ->
|
||||
|
|
|
|||
Loading…
Reference in a new issue