From 1c0c1d0f0fe2fc5234f3ece442f9c14746c8d6e9 Mon Sep 17 00:00:00 2001 From: Divesh Pahuja Date: Wed, 1 Sep 2021 12:17:54 +0530 Subject: [PATCH] Fix events detail page --- public/static/js/vue-app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/static/js/vue-app.js b/public/static/js/vue-app.js index 0cf9d3dc..e7b8f721 100644 --- a/public/static/js/vue-app.js +++ b/public/static/js/vue-app.js @@ -147,7 +147,7 @@ new Vue({ this.$apollo.query({ query: GET_EVENT_DETAILS, variables: { - id: id, + id: parseInt(id), }, }).then(data => { this.eventDetails = data.data.eventDetails; @@ -185,4 +185,4 @@ new Vue({ return [this.eventDetails.locationMap.latitude, this.eventDetails.locationMap.longitude] } } -}); \ No newline at end of file +});