Don't include completed tasks in daily plan, silly robo.
This commit is contained in:
parent
71eb6bf04b
commit
4467d75fa9
1 changed files with 6 additions and 0 deletions
|
|
@ -286,6 +286,12 @@ def new():
|
||||||
cur_usr,
|
cur_usr,
|
||||||
NPT.COMPLETE_ALL_TASKS
|
NPT.COMPLETE_ALL_TASKS
|
||||||
)
|
)
|
||||||
|
).map(
|
||||||
|
lambda tasks: [
|
||||||
|
tsk
|
||||||
|
for tsk in tasks
|
||||||
|
if not tsk.complete
|
||||||
|
]
|
||||||
).flat_map(
|
).flat_map(
|
||||||
lambda tasks: form_data.time_info.map(
|
lambda tasks: form_data.time_info.map(
|
||||||
lambda tinfo: (tasks, tinfo)
|
lambda tinfo: (tasks, tinfo)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue