mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 07:15:51 +01:00
fix(popup_editor): collections being displayed under a full empty screen
This commit is contained in:
@@ -58,7 +58,7 @@ export default class NoteListWidget extends NoteContextAwareWidget {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.displayOnlyCollections) {
|
||||
if (this.displayOnlyCollections && this.note?.type !== "book") {
|
||||
const viewType = this.note?.getLabelValue("viewType");
|
||||
if (!viewType || ["grid", "list"].includes(viewType)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user