mirror of
https://github.com/zadam/trilium.git
synced 2025-10-08 22:49:12 +08:00
fix(views/geomap): unable to change note type to geomap
This commit is contained in:
parent
dd18866156
commit
68e258f23b
1 changed files with 1 additions and 1 deletions
|
@ -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 }));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue