mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fixed removing from recent notes
This commit is contained in:
parent
7c7a5f19f5
commit
719f553054
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user