Calculation recorsively up completed!
This commit is contained in:
@@ -255,7 +255,7 @@ TodoSchema.statics.calculateTreeTodo = async function (userId, idproj, calcalsoU
|
||||
if (!!idparent) {
|
||||
// Calculate also the upper Projects !
|
||||
return new Promise((resolve, reject) => {
|
||||
Todo.calculateTreeTodo(userId, idparent, true, masterproj, true);
|
||||
Todo.calculateTreeTodo(userId, idparent, true, masterproj, false);
|
||||
resolve(ris)
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user