From b053b1b7ce8be3e26f53504d9a18b22a053a1a01 Mon Sep 17 00:00:00 2001 From: Shamzic Date: Fri, 22 Nov 2024 17:18:03 +0100 Subject: [PATCH 1/5] =?UTF-8?q?feat:=20ajout=20boutons=20d=C3=A9marrage=20?= =?UTF-8?q?simulation=20(page=20liste=20des=20aides)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../buttons/home-simulation-group-buttons.vue | 31 ++++++++----- src/views/liste-aides.vue | 44 ++++++++++++++----- 2 files changed, 51 insertions(+), 24 deletions(-) diff --git a/src/components/buttons/home-simulation-group-buttons.vue b/src/components/buttons/home-simulation-group-buttons.vue index e3dc38c466..9636facf03 100644 --- a/src/components/buttons/home-simulation-group-buttons.vue +++ b/src/components/buttons/home-simulation-group-buttons.vue @@ -1,32 +1,39 @@ @@ -40,7 +47,7 @@ const next = () => { category: EventCategory.Home, }" class="fr-btn" - @click="next" + @click="resumeSimulation" > Reprendre ma simulation @@ -60,7 +67,7 @@ const next = () => { v-analytics="{ action: ctaLabel, category: EventCategory.Home }" class="fr-btn" data-testid="new-simulation" - to="/simulation/individu/demandeur/date_naissance" + :to="SIMULATION_START_PATH" @click="newSituation" > {{ ctaLabel }} diff --git a/src/views/liste-aides.vue b/src/views/liste-aides.vue index e5a18b0405..6b699fe47f 100644 --- a/src/views/liste-aides.vue +++ b/src/views/liste-aides.vue @@ -1,18 +1,26 @@