fixed removing from recent notes

This commit is contained in:
azivner 2017-11-30 00:08:59 -05:00
parent 7c7a5f19f5
commit 719f553054

View File

@ -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);
}