Parse tag blocks out of project and task note sections

This commit is contained in:
Campbell Alden 2023-07-24 11:02:14 +09:00
parent 469320a77f
commit 0144071046
6 changed files with 102 additions and 30 deletions

View file

@ -27,7 +27,7 @@ logbook.filter(task => {
notes: todo.notes() || null,
status: todo.status(),
completion_date: todo.completionDate(),
project: proj && { id: proj.id(), title: proj.name(), status: proj.status() },
project: proj && { id: proj.id(), title: proj.name(), status: proj.status(), notes: proj.notes() },
area: area && { id: area.id(), title: area.name() },
tags: [...tags, ...todo.tagNames().split(', ')].filter(t => t),
});