Task correction
This commit is contained in:
parent
5410067147
commit
035f40a83d
@ -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!
|
||||||
|
Loading…
Reference in New Issue
Block a user