diff --git a/apps/client/src/components/note_context.ts b/apps/client/src/components/note_context.ts index 020817073..75c66b1bc 100644 --- a/apps/client/src/components/note_context.ts +++ b/apps/client/src/components/note_context.ts @@ -326,7 +326,7 @@ class NoteContext extends Component implements EventListener<"entitiesReloaded"> } // Some book types must always display a note list, even if no children. - if (["calendar", "table"].includes(note.getLabelValue("viewType") ?? "")) { + if (["calendar", "table", "geoMap"].includes(note.getLabelValue("viewType") ?? "")) { return true; } diff --git a/apps/client/src/widgets/type_widgets/book.ts b/apps/client/src/widgets/type_widgets/book.ts index 66d476464..cc8323e1f 100644 --- a/apps/client/src/widgets/type_widgets/book.ts +++ b/apps/client/src/widgets/type_widgets/book.ts @@ -47,6 +47,7 @@ export default class BookTypeWidget extends TypeWidget { switch (this.note?.getAttributeValue("label", "viewType")) { case "calendar": case "table": + case "geoMap": return false; default: return true;