+
Location: {(city.name).replace(/(^|\s)\S/g, l => l.toUpperCase())} - {countries.getName(city.country)}
+ {(ambassador.nickname) && (
Nickname: {ambassador.nickname}
)}
+ {(ambassador.telegram) && (
)}
+ {(ambassador.keybase) && (
Keybase: {ambassador.keybase}
)}
+ {(ambassador.email) && (
Email: {ambassador.email}
)}
+ {(ambassador.phone) && (
Phone: {ambassador.phone}
)}
+ {(ambassador.url) && (
)}
+
;
const marker = {
lat: city.lat,
lng: city.lon,
withInfo: true,
infoTitle: ambassador.nickname,
- infoDescription: `${city.name} - ${city.country}`,
+ infoDescription: infoDescription,
};
markers.push(marker);
});
@@ -183,6 +199,10 @@ class MerchantsPage extends Component {
});
result.data.map(merchant => {
+ const infoDescription =