diff --git a/frontend/src/views/GuideContactExpert/ExpertSituation.vue b/frontend/src/views/GuideContactExpert/ExpertSituation.vue index d1aa6a687..f89cf0a41 100644 --- a/frontend/src/views/GuideContactExpert/ExpertSituation.vue +++ b/frontend/src/views/GuideContactExpert/ExpertSituation.vue @@ -35,7 +35,8 @@ const LPS = { const IRCGN = { email: 'db.dcpc.ircgn@gendarmerie.interieur.gouv.fr', - phone: '01 78 47 31 46 ', + fixe: '01 78 47 31 46 ', + phone: '06 07 98 40 09', } const shownLPS = ref(null) const showIRCGNModal = ref(false) @@ -46,6 +47,15 @@ function buildMailto (email: string) { return `mailto:${email}?subject=${subject}&body=${body}` } +const currentPhone = computed(() => { + const currentHour = new Date().getHours() + if (currentHour >= 8 && currentHour < 18) { + return IRCGN.fixe + } else { + return IRCGN.phone + } +}) +