Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(views/geomap): unable to change note type to geomap
Elian Doran68e258f23b8d
diff --git a/apps/client/src/widgets/ribbon_widgets/book_properties.ts b/apps/client/src/widgets/ribbon_widgets/book_properties.tsindex f552bc280a..655512f9ef 100644--- a/apps/client/src/widgets/ribbon_widgets/book_properties.ts+++ b/apps/client/src/widgets/ribbon_widgets/book_properties.ts@@ -127,7 +127,7 @@ export default class BookPropertiesWidget extends NoteContextAwareWidget {return;}- if (!["list", "grid", "calendar", "table"].includes(type)) {+ if (!["list", "grid", "calendar", "table", "geoMap"].includes(type)) {throw new Error(t("book_properties.invalid_view_type", { type }));}