From 9bfa4b62f6e3c1d67539322ac3fe1d180c936bea 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] }