mirror of
https://github.com/zadam/trilium.git
synced 2026-05-07 07:56:24 +02:00
fix(geomap): error in creating empty map
This commit is contained in:
@@ -138,7 +138,7 @@ export default class GeoMapTypeWidget extends TypeWidget {
|
||||
const blob = await this.note.getBlob();
|
||||
|
||||
let parsedContent: MapData = {};
|
||||
if (blob) {
|
||||
if (blob && blob.content) {
|
||||
parsedContent = JSON.parse(blob.content);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user