mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
complete toc/highlightslist improvements
This commit is contained in:
@@ -25,11 +25,9 @@ export default class ShowTocWidgetButton extends OnClickButtonWidget {
|
||||
}
|
||||
|
||||
async refreshWithNote(note) {
|
||||
console.log(213)
|
||||
this.toggleInt(this.noteContext.viewScope.tocTemporarilyHidden);
|
||||
}
|
||||
async reEvaluateTocWidgetVisibilityEvent({ noteId }) {
|
||||
console.log("noteId", noteId)
|
||||
if (noteId === this.noteId) {
|
||||
await this.refresh();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user