mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
feat(teams): quick add
Also fixes issue with lock icons Also hides task copies from personal task board
This commit is contained in:
@@ -371,6 +371,7 @@ async function scoreTask (user, task, direction, req, res) {
|
||||
throw new BadRequest('Cannot uncheck task you did not complete if not a manager.');
|
||||
}
|
||||
rollbackUser = await User.findOne({ _id: task.group.completedBy });
|
||||
task.group.completedBy = undefined;
|
||||
}
|
||||
|
||||
if (rollbackUser) {
|
||||
|
||||
Reference in New Issue
Block a user