move idList back to root-level, is what's causing the sort bug - see https://github.com/codeparty/racer/pull/73
This commit is contained in:
@@ -50,7 +50,7 @@ module.exports = (expressApp, root, derby) ->
|
||||
# Create task if doesn't exist
|
||||
# TODO add service & icon to task
|
||||
unless model.get("_user.tasks.#{taskId}")
|
||||
model.refList "_habitList", "_user.tasks", "_user.idLists.habit"
|
||||
model.refList "_habitList", "_user.tasks", "_user.habitIds"
|
||||
model.at('_habitList').push {
|
||||
id: taskId
|
||||
type: 'habit'
|
||||
|
||||
Reference in New Issue
Block a user