From cdd9518cb32968cf12d04ea68c460ed26d6eb32f Mon Sep 17 00:00:00 2001 From: elias couppe Date: Fri, 11 Oct 2024 16:22:18 +0200 Subject: [PATCH] =?UTF-8?q?fix(share:mail):=20pas=20de=20destinataire=20pa?= =?UTF-8?q?r=20d=C3=A9faut=20+=20saut=20de=20ligne=20dans=20body?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/data/edito.json | 2 +- src/components/carte/control/Share.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/data/edito.json b/public/data/edito.json index 43635cc..2d2855d 100644 --- a/public/data/edito.json +++ b/public/data/edito.json @@ -74,7 +74,7 @@ } ], "contacts": { - "mail": "geoplateforme@ign.fr", + "mail": "", "networks": { "facebook": "https://www.facebook.com/sharer.php", "twitter": "https://twitter.com/intent/tweet", diff --git a/src/components/carte/control/Share.vue b/src/components/carte/control/Share.vue index 6838895..12702db 100644 --- a/src/components/carte/control/Share.vue +++ b/src/components/carte/control/Share.vue @@ -50,7 +50,7 @@ const contacts = dataStore.getContacts(); var mail = { address : contacts.mail, subject : "Cartes à consulter sur cartes.gouv.fr", - body : "Bonjour, Je vous invite à consulter cette carte sur Cartes.gouv.fr : " + mapStore.permalink + body : "Bonjour,%0AJe vous invite à consulter cette carte sur Cartes.gouv.fr :%0A" + mapStore.permalink }; const shareMail = { "to" : `mailto:${mail.address}?subject=${mail.subject}&body=${mail.body}`,