mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Synced isdue/next due when user joins challenge (#9779)
This commit is contained in:
@@ -45,6 +45,7 @@ export function setNextDue (task, user, dueDateOption) {
|
||||
let optionsForShouldDo = user.preferences.toObject();
|
||||
optionsForShouldDo.now = now;
|
||||
task.isDue = shared.shouldDo(dateTaskIsDue, task, optionsForShouldDo);
|
||||
|
||||
optionsForShouldDo.nextDue = true;
|
||||
let nextDue = shared.shouldDo(dateTaskIsDue, task, optionsForShouldDo);
|
||||
if (nextDue && nextDue.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user