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] }