Task correction

This commit is contained in:
Philippe PITTOLI 2019-12-08 18:37:14 +01:00
parent 5410067147
commit 035f40a83d

View File

@ -194,7 +194,8 @@ model.todod-ws.add-event-listener \list-updated, (message) ->
project project
if model.viewed-project && model.viewed-project.id == message.list.id if model.viewed-project && model.viewed-project.id == message.list.id
new-project.tasks = model.viewed-project.tasks # create tasks in order to have the updated project properties
new-project.tasks = model.viewed-project.tasks.map (task) -> Task task, new-project, model.todod-ws
model.viewed-project = new-project model.viewed-project = new-project
projector.schedule-render! projector.schedule-render!