mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
getting rid of note complement WIP
This commit is contained in:
@@ -166,15 +166,6 @@ class NoteContext extends Component {
|
||||
return this.notePath ? this.notePath.split('/') : [];
|
||||
}
|
||||
|
||||
/** @returns {FNoteComplement} */
|
||||
async getNoteComplement() {
|
||||
if (!this.noteId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return await froca.getNoteComplement(this.noteId);
|
||||
}
|
||||
|
||||
isActive() {
|
||||
return appContext.tabManager.activeNtxId === this.ntxId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user