mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
feat(import/zip): backward compatibility
This commit is contained in:
parent
68e258f23b
commit
a58e5789bc
@ -663,6 +663,8 @@ function resolveNoteType(type: string | undefined): NoteType {
|
||||
return "noteMap";
|
||||
case "web-view":
|
||||
return "webView";
|
||||
case "geoMap":
|
||||
return "book";
|
||||
}
|
||||
|
||||
if (type && (ALLOWED_NOTE_TYPES as readonly string[]).includes(type)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user