fix(quick add magic): cleanup all assignee properties

This commit is contained in:
kolaente 2023-04-03 19:34:33 +02:00 committed by konrad
parent 02c24a4814
commit 34d1e4bddd
1 changed files with 2 additions and 0 deletions

View File

@ -397,7 +397,9 @@ export const useTaskStore = defineStore('task', () => {
if (assignees.length > 0) {
const assigneePrefix = PREFIXES[quickAddMagicMode]?.assignee
if (assigneePrefix) {
cleanedTitle = cleanupItemText(cleanedTitle, assignees.map(a => a.email), assigneePrefix)
cleanedTitle = cleanupItemText(cleanedTitle, assignees.map(a => a.username), assigneePrefix)
cleanedTitle = cleanupItemText(cleanedTitle, assignees.map(a => a.name), assigneePrefix)
}
}