fix(geomap): error in creating empty map

pull/1017/head
Elian Doran 2025-01-22 23:09:56 +07:00
parent 7a3a5141af
commit a8e2c2901b
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -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);
}