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