mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
fix deleting notes
This commit is contained in:
@@ -207,6 +207,13 @@ class NoteListRenderer {
|
||||
}
|
||||
|
||||
async renderList() {
|
||||
if (this.noteIds.length === 0) {
|
||||
this.$noteList.hide();
|
||||
return;
|
||||
}
|
||||
|
||||
this.$noteList.show();
|
||||
|
||||
const $container = this.$noteList.find('.note-list-container').empty();
|
||||
|
||||
const imageLinks = this.parentNote ? this.parentNote.getRelations('imageLink') : [];
|
||||
|
||||
Reference in New Issue
Block a user