fixed removing from recent notes

pull/255/head
azivner 2017-11-30 00:08:59 +07:00
parent 7c7a5f19f5
commit 719f553054
1 changed files with 1 additions and 1 deletions

@ -27,7 +27,7 @@ const recentNotes = (function() {
// FIXME: this should be probably just refresh upon deletion, not explicit delete
async function removeRecentNote(notePathIdToRemove) {
const result = server.remove('recent-notes/' + encodeURIComponent(notePathIdToRemove));
const result = await server.remove('recent-notes/' + encodeURIComponent(notePathIdToRemove));
list = result.map(r => r.note_path);
}