🐛 Fix GPX being overwritten on place edit
This commit is contained in:
parent
5f9df83701
commit
50799bd685
@ -144,6 +144,7 @@ export class PlaceCreateModalComponent {
|
||||
delete ret["image"];
|
||||
delete ret["image_id"];
|
||||
}
|
||||
if (ret["gpx"] == "1") delete ret["gpx"];
|
||||
ret["lat"] = +ret["lat"];
|
||||
ret["lng"] = +ret["lng"];
|
||||
this.ref.close(ret);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user