mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
got rid of .renderTo(), tab caching widgets use hidden marker element
This commit is contained in:
@@ -30,9 +30,7 @@ export default class NotePathsWidget extends TabAwareWidget {
|
||||
return this.$widget;
|
||||
}
|
||||
|
||||
async refreshWithNote() {
|
||||
const {note, notePath} = this.tabContext;
|
||||
|
||||
async refreshWithNote(note, notePath) {
|
||||
if (note.noteId === 'root') {
|
||||
// root doesn't have any parent, but it's still technically 1 path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user