Skip to content

Commit 28c5cb1

Browse files
committed
fix: pass RichObjectParameter properties as strings
- follow-up to 8e3ae02, but for popup menu. Valid since Nextcloud 22, maybe was blocked a bit later Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
1 parent ae6f7e3 commit 28c5cb1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/map/ClickSearchPopup.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ export default {
116116
const object = {
117117
id: 'geo:' + this.latLng.lat + ',' + this.latLng.lng,
118118
name: this.formattedAddress,
119-
latitude: this.latLng.lat,
120-
longitude: this.latLng.lng,
119+
latitude: this.latLng.lat.toString(),
120+
longitude: this.latLng.lng.toString(),
121121
}
122122
action.callback(object)
123123
},

0 commit comments

Comments
 (0)