From 846de369f29b3f2b466f6e08afdf478f60c8a081 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Sat, 18 Mar 2023 07:41:36 +0000 Subject: [PATCH] chore(parseSubtasksViaIndention): fix comment (#3259) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/3259 Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- src/helpers/parseSubtasksViaIndention.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/parseSubtasksViaIndention.ts b/src/helpers/parseSubtasksViaIndention.ts index 7e76bda0c..807301d5b 100644 --- a/src/helpers/parseSubtasksViaIndention.ts +++ b/src/helpers/parseSubtasksViaIndention.ts @@ -48,7 +48,7 @@ export function parseSubtasksViaIndention(taskTitles: string): TaskWithParent[] task.title = cleanupTitle(title.replace(spaceRegex, '')) task.parent = task.parent.replace(spaceRegex, '') if (task.project === null) { - // This allows to specify a list once for the parent task and inherit it to all subtasks + // This allows to specify a project once for the parent task and inherit it to all subtasks task.project = getProjectFromPrefix(task.parent) } }