use the rendering function of Task

dev
Philippe PITTOLI 2019-12-06 00:13:59 +01:00
parent d511523934
commit 4414386471
2 changed files with 3 additions and 3 deletions

View File

@ -24,8 +24,8 @@ Project = (self, todod-ws) ->
h \div.column [
bulma.title 4 column.title
tasks-to-display.map (task) ->
h \div [ task.title ]
for task in tasks-to-display
task.render!
]
self.render = ->

View File

@ -32,7 +32,7 @@ get-next = (collection, element) ->
Task = (self, project, model) ->
self.render = ->
h \div [ "coucou" ]
h \div [ self.title ]
# self.render-old = ->
# author = model.users[self.author]