mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
removed auto book as it is no longer needed
This commit is contained in:
@@ -27,7 +27,8 @@ export default class NoteListWidget extends TabAwareWidget {
|
||||
&& (
|
||||
['book', 'search', 'code'].includes(this.note.type)
|
||||
|| (this.note.type === 'text' && this.note.hasChildren())
|
||||
);
|
||||
)
|
||||
&& !this.note.hasLabel('hideChildrenOverview');
|
||||
}
|
||||
|
||||
doRender() {
|
||||
@@ -92,12 +93,6 @@ export default class NoteListWidget extends TabAwareWidget {
|
||||
this.checkRenderStatus();
|
||||
}
|
||||
|
||||
autoBookDisabledEvent({tabContext}) {
|
||||
if (this.isTab(tabContext.tabId)) {
|
||||
this.refresh();
|
||||
}
|
||||
}
|
||||
|
||||
notesReloadedEvent({noteIds}) {
|
||||
if (noteIds.includes(this.noteId)) {
|
||||
this.refresh();
|
||||
|
||||
Reference in New Issue
Block a user