mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-02-18 04:08:51 -06: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