mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
fixed removing from recent notes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user