From d435d230b8597c9c97b2ab8794f60231621c70e6 Mon Sep 17 00:00:00 2001 From: a-ill Date: Sun, 16 Jul 2023 16:58:02 +0300 Subject: [PATCH] Update --- Server/app/svelte/public/js/parties.js | 3 ++- Server/public/js/parties.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Server/app/svelte/public/js/parties.js b/Server/app/svelte/public/js/parties.js index ff47c87..22a775b 100644 --- a/Server/app/svelte/public/js/parties.js +++ b/Server/app/svelte/public/js/parties.js @@ -41,7 +41,8 @@ export function addMarkersParties(map,content) { text += fieldText + "" + g.website + "" + "
" } else if (field=="location") { - let locationString = location.map(x => content[x]).join(", ") + let location = g[field][0] + let locationString = location text += fieldText + locationString + "
" coordinates = g[field][1] } diff --git a/Server/public/js/parties.js b/Server/public/js/parties.js index ff47c87..22a775b 100644 --- a/Server/public/js/parties.js +++ b/Server/public/js/parties.js @@ -41,7 +41,8 @@ export function addMarkersParties(map,content) { text += fieldText + "" + g.website + "" + "
" } else if (field=="location") { - let locationString = location.map(x => content[x]).join(", ") + let location = g[field][0] + let locationString = location text += fieldText + locationString + "
" coordinates = g[field][1] }