fix sync issues

This commit is contained in:
zadam
2020-03-11 22:43:20 +01:00
parent 2d38706ba8
commit 48abd765c6
4 changed files with 8 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ class ConsistencyChecks {
childToParents[childNoteId].push(parentNoteId);
}
function checkTreeCycle(noteId, path) {
const checkTreeCycle = (noteId, path) => {
if (noteId === 'root') {
return;
}
@@ -75,7 +75,7 @@ class ConsistencyChecks {
checkTreeCycle(parentNoteId, newPath);
}
}
}
};
const noteIds = Object.keys(childToParents);