Fixes #521
parent
05431bdee5
commit
72453bac88
|
@ -62,6 +62,7 @@ export async function indexTasks({ name, tree }: IndexTreeEvent) {
|
|||
let currentState = taskStates.get(state);
|
||||
if (!currentState) {
|
||||
currentState = { count: 0, firstPos: n.from! };
|
||||
taskStates.set(state, currentState);
|
||||
}
|
||||
currentState.count++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue