Fixes #124
This commit is contained in:
+2
-1
@@ -60,7 +60,8 @@ export async function indexTasks({ name, tree }: IndexTreeEvent) {
|
||||
if (!task.tags) {
|
||||
task.tags = [];
|
||||
}
|
||||
task.tags.push(tree.children![0].text!);
|
||||
// Push the tag to the list, removing the initial #
|
||||
task.tags.push(tree.children![0].text!.substring(1));
|
||||
// Remove this node from the tree
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user