mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
fix(views/geomap): unable to change note type to geomap
This commit is contained in:
@@ -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 }));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user