mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
small fixes
This commit is contained in:
@@ -67,6 +67,13 @@ export default class NoteListWidget extends TabAwareWidget {
|
||||
await noteListRenderer.renderList();
|
||||
}
|
||||
|
||||
async refresh() {
|
||||
this.$content.empty();
|
||||
this.shownNoteId = null;
|
||||
|
||||
await super.refresh();
|
||||
}
|
||||
|
||||
/**
|
||||
* We have this event so that we evaluate intersection only after note detail is loaded.
|
||||
* If it's evaluated before note detail then it's clearly intersected (visible) although after note detail load
|
||||
|
||||
Reference in New Issue
Block a user