Fix name sanitization to be based on specific tags instead of on input tag filtering
This commit is contained in:
parent
e6ffc866c4
commit
d232763850
8 changed files with 53 additions and 12 deletions
|
|
@ -27,7 +27,13 @@ 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(), notes: proj.notes() },
|
||||
project: proj && {
|
||||
id: proj.id(),
|
||||
title: proj.name(),
|
||||
status: proj.status(),
|
||||
notes: proj.notes(),
|
||||
tags: proj.tagNames().split(', '),
|
||||
},
|
||||
area: area && { id: area.id(), title: area.name() },
|
||||
tags: [...tags, ...todo.tagNames().split(', ')].filter(t => t),
|
||||
});
|
||||
|
|
|
|||
Reference in a new issue