fix init of synced options in new database

This commit is contained in:
azivner
2018-08-17 18:11:03 +02:00
parent a42bbba0e5
commit 7f9a8a55ca
5 changed files with 24 additions and 14 deletions

View File

@@ -64,7 +64,7 @@ async function getTree() {
const relations = await getRelations(noteIds);
return {
startNotePath: await optionService.getOption('startNotePath'),
startNotePath: (await optionService.getOption('startNotePath')) || 'root',
branches,
notes,
relations