fixes after refactoring, base functionality works again

This commit is contained in:
azivner
2018-03-24 23:00:12 -04:00
parent 5ea060a054
commit 0f6b00e1c8
3 changed files with 37 additions and 30 deletions

View File

@@ -211,7 +211,7 @@ $(document).ready(() => {
if (isElectron()) {
require('electron').ipcRenderer.on('create-day-sub-note', async function(event, parentNoteId) {
// this might occur when day note had to be created
if (!treeService.noteExists(parentNoteId)) {
if (!await treeService.noteExists(parentNoteId)) {
await treeService.reload();
}