From 68e258f23b8d15b9089be4c44e8db1614c5233c0 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 6 Jul 2025 22:32:24 +0300 Subject: [PATCH] fix(views/geomap): unable to change note type to geomap --- apps/client/src/widgets/ribbon_widgets/book_properties.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/ribbon_widgets/book_properties.ts b/apps/client/src/widgets/ribbon_widgets/book_properties.ts index f552bc280..655512f9e 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 })); }