fix(views/geomap): unable to change note type to geomap

This commit is contained in:
Elian Doran 2025-07-06 22:32:24 +03:00
parent dd18866156
commit 68e258f23b
No known key found for this signature in database

View file

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