From e6fc22d673d0e3792571f0813d309be090d4237b Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Mon, 15 May 2023 22:04:11 +0200 Subject: [PATCH] Added political party label --- src/components/GeolocButton.vue | 4 ++-- src/components/RepInfo.vue | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/components/GeolocButton.vue b/src/components/GeolocButton.vue index 6ceb3e5..b01a35c 100644 --- a/src/components/GeolocButton.vue +++ b/src/components/GeolocButton.vue @@ -41,13 +41,13 @@ async function handleGeolocClick() { /> Géolocalisation -
Position peu précise ; votre député sera peut être différement de notre résultat -
+ -->
{{ lastError }}
diff --git a/src/components/RepInfo.vue b/src/components/RepInfo.vue index 7386603..37ef157 100644 --- a/src/components/RepInfo.vue +++ b/src/components/RepInfo.vue @@ -103,11 +103,14 @@ const regionBgFile = computed(() => {

{{ repFullName }}

-
+
{{ repPoliticalParty.organe.libelle }}
-
-

+

{{ repMandate?.election?.lieu.departement }} - {{ repMandate?.election?.lieu.numCirco }}e circonscription

@@ -118,10 +121,6 @@ const regionBgFile = computed(() => { /> -

- {{ rep.acteur.profession.libelleCourant }} -

-