order tasks by current points desc
This commit is contained in:
@@ -12,7 +12,7 @@ export const load = async ({ cookies }) => {
|
||||
}
|
||||
}
|
||||
},
|
||||
orderBy: [desc(tasks.updatedAt)]
|
||||
orderBy: [desc(tasks.currentPoints)]
|
||||
}),
|
||||
editable: cookies.get('token')
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user