From d40297acb3f6d8db202d8c1edb22fe336b46a379 Mon Sep 17 00:00:00 2001 From: Paolo Arena Date: Sat, 6 Apr 2019 21:06:11 +0200 Subject: [PATCH] Calculation recorsively up completed! --- server/models/todo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/models/todo.js b/server/models/todo.js index ee3cbd6..279d992 100644 --- a/server/models/todo.js +++ b/server/models/todo.js @@ -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 {