removed auto book as it is no longer needed

This commit is contained in:
zadam
2021-01-28 22:34:35 +01:00
parent 67e0e0888e
commit d19a929237
7 changed files with 4 additions and 47 deletions

View File

@@ -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();